|
|
No Vasu. I have tried it.
The sad part is when the Page is postbacked all the Link Buttons created dynamically are cleared.
|
|
|
|
|
I am calling a method getDirectories() present in an Applet which returns a string value, am calling this from the javascript. When I run this script from the Internet Explorer, the getDirectories() returns “C:, D:” but when I am calling this method from the Firefox it returns [Object Event] but I am expecting “C:, D:”. Can you please help me what should I do to get the correct string value.
Thanks in Advance
Irsh
|
|
|
|
|
|
|
|
hi guys,
How to invoke Asynchronous web service from asp.net web application. through delegate we can achieve the Asynchronous call.
can u give some example or any URL?
Thanks & Regards
velu
|
|
|
|
|
|
Thanks Deepak. i ll gothrough and come back.
d.sengottuvelu
|
|
|
|
|
i have an image control in item template of a datalist and file upload control in edit item template. if i upload a picture, for first time, the image control show the new image. but from onwards if i upload a new picture, even though its uploaded to server and the path is shown with new image name, it shows the old picture untill i refresh the page. what would be the solution for this problem. If i disable cache will it work, if yes how to disable cache. The whole thing is in an .ascx (user control) page.
minah
|
|
|
|
|
fthavha wrote: Disable cache
There is nothing like disabling cache. With so many cache tiers at IIS, Proxy, Upstream servers and Web browser level, you can not expect a perfect disabling of cache though. You can of course direct the element to expire from cache or not to be cached by a suitable (pragma) or other directive.
|
|
|
|
|
so please tell me what should i do to show the new images
|
|
|
|
|
|
|
I have a page which adds a record to the database when I Click the submit button and it stays in the same page showing all values from the database in a datalist. My problem is that if I refresh the page, the last event fired , that is btnSubmit_Click is fired again and yet another a record is added to database. What will be the solution. Thanks in advance
minah
|
|
|
|
|
|
If i debug, i can see it going to submit_click on refresh of the page (ie, the last event fired. if it was another event which was fired before refresh, then that event will be fired on refresh)
|
|
|
|
|
If i press F5 the event which was fired is fired again.
|
|
|
|
|
I have a form with submit button as an asp image button. My problem is that if i click the button n times the event is fired n times. so how to disable button during the post back. I tried onclientclick="this.enable =false; return true", but didnt work. Is there any other solutions
minah
|
|
|
|
|
You can actually knock off the submission ability on postback. ImageButtons don't support that Enable right?
|
|
|
|
|
i didnt get what you mean by submission ability. I tried this.disabled=disabled also
|
|
|
|
|
Hi! in GridView, in a certain cell, there is a child control. it may be a LinkButton or A Label or a Button web control. i represent rffernce of this child control in DataBound event as:
Object O = e.Row.Cel[0].Control[0];
now i want to know type of the web control object O have.
how can i do this?
Thanks & Regards,
SAMir Nigam,
Software Engineer,
STPL, Lucknow, India.
|
|
|
|
|
You can use the is operator to check for types:
if (O is LinkButton) ...
You can use the as operator to get a reference only for specific types:
LinkButton b = o as LinkButton;<br />
if (b != null) ...
---
single minded; short sighted; long gone;
|
|
|
|
|
Wouldn't a NULL check and then calling GetType() tell you?
|
|
|
|
|
I am using ReportViewer control in Update panel, when run the application i can't use some commands on report viewer tool bar like Print and export.
why it is so ?? is ther any solution available ???
And also tell me is there way to override these commands.
Thanks in Advance
|
|
|
|