i have an update panel which have a panel control and there are some controls in panel control. when page is loaded pane is invisible....AsyncFileUpload is also in this panel control....when user click on add button on page this update panel is asynchronously
updated and panel control is made visible which in turn make all child controls visible
now if i select file in AsyncFileUpload it do not upload file...but if this panel is visible in first page load it works fine
The solution of a similar problem is here:
http://forums.asp.net/t/1479689.aspx?PageIndex=2 .
The main idea: to have unvisible AsyncFileUpload control with the same ID (inside <div style="display:none;">) in visible panel.
Don't forget to mark this post as "answer", if it helped you...
Hi! I am use AsyncFileUpload Control inside ModalPopup without Update Panel. When I am Select File That Time "UploadedComplete" Event Not Fire But After Select File i am close the modal popup that time this event fire.
This is working poperly in IE.
I am Use Three AsynceFileUpload Control two is Master PAge and One Is used in aspx page.
Two control (MasterPage) it is not working with FireFox.
JangZ
Member
207 Points
74 Posts
AsyncFileUpload do not upload in update panel if update panel contents are initially invisible bu...
Nov 05, 2009 02:37 PM|LINK
Scenario is something like this
i have an update panel which have a panel control and there are some controls in panel control. when page is loaded pane is invisible....AsyncFileUpload is also in this panel control....when user click on add button on page this update panel is asynchronously updated and panel control is made visible which in turn make all child controls visible
now if i select file in AsyncFileUpload it do not upload file...but if this panel is visible in first page load it works fine
any help on issue?
obout_teo
Contributor
2428 Points
398 Posts
Re: AsyncFileUpload do not upload in update panel if update panel contents are initially invisibl...
Nov 06, 2009 03:38 AM|LINK
The solution of a similar problem is here: http://forums.asp.net/t/1479689.aspx?PageIndex=2 .
The main idea: to have unvisible AsyncFileUpload control with the same ID (inside <div style="display:none;">) in visible panel.
obout_teo
Contributor
2428 Points
398 Posts
Re: AsyncFileUpload do not upload in update panel if update panel contents are initially invisibl...
Nov 06, 2009 04:57 AM|LINK
Ensure that the following attributes are in the <form> tag of your page:
enctype="multipart/form-data" method="post"
Frank White
Member
2 Points
1 Post
Re: AsyncFileUpload do not upload in update panel if update panel contents are initially invisibl...
Mar 02, 2010 02:12 PM|LINK
Very nice answer with the enctype="multipart/form-data". Thank you.
abhiprakash
Member
4 Points
3 Posts
Re: AsyncFileUpload do not upload in update panel if update panel contents are initially invisibl...
Oct 22, 2011 07:29 AM|LINK
Hi! I am use AsyncFileUpload Control inside ModalPopup without Update Panel. When I am Select File That Time "UploadedComplete" Event Not Fire But After Select File i am close the modal popup that time this event fire.
This is working poperly in IE.
I am Use Three AsynceFileUpload Control two is Master PAge and One Is used in aspx page.
Two control (MasterPage) it is not working with FireFox.
Any Idea..