|
create a function in javascript and call that function from HTML Button onClick Event
<script type="text/javascript" language="javascript"><br />
function popup()<br />
{<br />
window.open('GridView.aspx',null,"height=200,width=400,status=yes,toolbar=no,menubar=no,location=no");<br />
<br />
}<br />
</script><br />
<input id="Button1" style="z-index: 101; left: 24px; position: absolute; top: 40px"<br />
type="button" value="popup" on click="popup();" />
Nav.
|
|
|
|
|
i am creating pop up window when user clicks on button but it is refreshig the page while openining pop up window .i want to create pop up window without post back .
i know about callback feature of asp.net 2.0 but how would i use it to open pop up window.
any one can tell me.
i am creatinf pop up window using java script.
Here is The Code
string popupScript = "" +
" var win = window.open('Default2.aspx', 'Pop Up', " +
"'width=304, height=140, menubar=no, resizable=no,status=no,toolbar=no,location=no')" +
"";
Page.RegisterStartupScript("Pop up", popupScript);
|
|
|
|
|
Hi,
I am trying to figure out a way to provide a virtual path to work in the following way:
1. Request is made to server, e.g http://www.myserver.com/clientname/
2. 'clientname' is stored as the profile name
3. All subsequent requests are returned from the http root (So http://www.myserver.com/clientname/Default.aspx would actually be http://www.myserver.com/Default.aspx)
4. Content is personalised according to the 'clientname' stored.
Now I have the personalisation working and I have a VirtualPathProvider returning a simple text message if the path is virtual but I cannot figure out how to separate the 'clientname' out to store and how to get the 'real' path of the requested file (Paths could also have sub-directories)
Any help greatly appreciated.
Thanks!
|
|
|
|
|
Sir,
I have 20 records in the database and two controls in the datalist namely 1 labels , 1 linkbutton , .When the form executes the datalist shows 20 records so each record will show 2 things as according to two control in the datalist.Now the problem is when i click on the linkbutton of the particular record I am unable to find that record's label control text.I mean at the click event i am taking a string type variable in which i want to store that record's label control text.
Thanks and Regards
amnneet Brar
-- modified at 6:30 Thursday 8th June, 2006
|
|
|
|
|
Hi
i am developing asp.net web application in which client is writing a text file on his machine(because we have use javascript for writing file) . Now i want to get the same file uploaded to server how to go for it . I am not getting any way .PLease help me
|
|
|
|
|
|
you can use file upload control to upload file .prompt client for upload file .
if you are taking input than take it directly in textbox or textarea controls.
Murtaza Tahir Ali Dhari
|
|
|
|
|
The Button, Link Button, and Image Button controls all cause _____________ events.
S.Sandeepa
|
|
|
|
|
Give answers in the same post otherwise it will be of no use.
Best Regards,
Apurva Kaushal
|
|
|
|
|
For all you guys, who dont know how to use this forum..
Pls Read
|
|
|
|
|
|
can u give one example using it
S.Sandeepa
|
|
|
|
|
example of what? try to use same post for your replies.
Best Regards,
Apurva Kaushal
-- modified at 5:41 Thursday 8th June, 2006
|
|
|
|
|
lists three types of server control events.
P.PaVaN KuMaR
|
|
|
|
|
hi dears,
how can i get the sample papers of microsoft 305 exam and which is the best site to refer this .
|
|
|
|
|
if i dont want select any item from dropdownlist what should i do?????????
|
|
|
|
|
you simply don't select, in that case, add an extra empty item to the dropdownlist and make it the default when the page loads....
I hope this helps...
Mickey
|
|
|
|
|
thanks , it is a good recemended
|
|
|
|
|
thanks , it is a good recemended
|
|
|
|
|
First item of dropdownlost set text example "select item"
if (DropDownList1.SelectedIndex == 0) <br />
{<br />
}<br />
else<br />
{<br />
}
|
|
|
|
|
if i dont select dropdownlist my dropdownlist.selectedindex is already = 0
and what should i do
|
|
|
|
|
That is true in that case it will search only for the textbox value which is what you want isn't it?
Best Regards,
Apurva Kaushal
|
|
|
|
|
If you didn't pick any item from DropDownLost then search gonna be only from textbox parameter.
Note: set breakpoint in IF statement and by F11 look what's going on when u do not select any item from dropdownlist
|
|
|
|
|
when i started my ASP.NET project, it reported errors: assembly CrystalDecision
missing or something like that
how to resolve this problem
thanks
|
|
|
|
|
You need the Crystal reports stuff installed. It's missing the Crystal Decisions dll
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|