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.
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.
No comments:
Post a Comment
Please don't spam, spam comments is not allowed here.