![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a fileupload component and a submit button inside an updatepanel. (C#, asp2). In the debugger in page load, I see that the hasfile property is false, even though the fileupload control was used to select an existing file on the client. If I move the 2 controls outside the updatepanel then hasfile is true in page load. How to workaround this? Jeremy |
#3
| |||
| |||
|
|
Following up .. On the asp.net ajax site, in the overview page, http://www.asp.net/ajax/documentatio...atePanelOvervi... I find the following "To use a FileUpload control inside an UpdatePanel control, set the postback control that submits the file to be a PostBackTrigger control for the panel." However, this does not work. IOW, adding the submit button's onclick event as a trigger does not change anything. Jeremy "Jeremy" <jeremy-nos... (AT) ninprodata (DOT) com> wrote in message news:u8etIHQPIHA.292 (AT) TK2MSFTNGP02 (DOT) phx.gbl... I have a fileupload component and a submit button inside an updatepanel. (C#, asp2). In the debugger in page load, I see that the hasfile property is false, even though the fileupload control was used to select an existing file on the client. If I move the 2 controls outside the updatepanel then hasfile is true in page load. How to workaround this? Jeremy |
#4
| |||
| |||
|
|
I have a fileupload component and a submit button inside an updatepanel. (C#, asp2). In the debugger in page load, I see that the hasfile property is false, even though the fileupload control was used to select an existing file on the client. If I move the 2 controls outside the updatepanel then hasfile is true in page load. How to workaround this? Jeremy |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |