Thursday, November 29, 2012

Query Doesnot After PostBack



JQuery Doesnot After PostBack
and
FileUpload Content Refreshed During pageload if it is used in a user control

If your usercontrol has a file upload button and when you are inserting data or in any post back its refreshed then do one thing
Go to your user control page load event and put the following code there

  ScriptManager.GetCurrent(this.Parent.Page).RegisterPostBackControl(ImgBtnSave);

ImgBtnSave is the control where we are trying to add data without refreshing the file upload content.

THANKS Rehan Parvez

No comments:

Post a Comment