The FileUpload control is not working within the Update Panel control, but there is a workaround:
Add the following code to the Page_Load event of your page:
ScriptManager.GetCurrent(Page).RegisterPostBackControl(cmdUploadPicture);
Where cmdUploadPicture the ID of button is, used to Upload the File.
Wednesday, March 25, 2009
FileUpload control within an Update Panel
Labels:
.Net,
Ajax,
asp.net,
FileUpload,
Update Panel,
UpdatePanel
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment