![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a FileUpload control which is inside an UpdatePanel which is inside a TabPanel. In my code, I use the FileUpload's HasFile and FileContent.Length properties. However, after I select a file, the HasFile=False, and the FileContent.Length=0. Why is this? Does it have something to do with the TabPanel and UpdatePanel being AJAX? If so, what can I do to fix it? Is there something else I could be doing wrong? Any help would be appreciated. Thanks. -- Nathan Sokalski njsokal... (AT) hotmail (DOT) comhttp://www.nathansokalski.com/ |
#3
| |||
| |||
|
|
Hi, Nathan So far, FileUpload control is incompatible with UpdatePanel. I do have an upload control taht is compatible with the UpdatePanel. Take a look at http://pjondevelopment.50webs.com/ar...yncupload.html Regards, Paulo Santos http://pjondevelopment.50webs.com On Dec 20, 12:33 am, "Nathan Sokalski" <njsokal... (AT) hotmail (DOT) com> wrote: I have a FileUpload control which is inside an UpdatePanel which is inside a TabPanel. In my code, I use the FileUpload's HasFile and FileContent.Length properties. However, after I select a file, the HasFile=False, and the FileContent.Length=0. Why is this? Does it have something to do with the TabPanel and UpdatePanel being AJAX? If so, what can I do to fix it? Is there something else I could be doing wrong? Any help would be appreciated. Thanks. -- Nathan Sokalski njsokal... (AT) hotmail (DOT) comhttp://www.nathansokalski.com/ |
#4
| |||
| |||
|
|
I can accept that it does not work in UpdatePanel, so is this why it does not work in the TabPanel either, even though I have commented out the UpdatePanel? Thanks. (I appreciate your control, but because this is not for personal use, I would prefer not to use third-party controls) "PJ on Development" <pjondevelopm... (AT) gmail (DOT) com> wrote in messagenews:1225b55e-976d-44c4-b0dc-d2d0c57452fb (AT) r29g2000hsg (DOT) googlegroups.com... Hi, Nathan So far, FileUpload control is incompatible with UpdatePanel. I do have an upload control taht is compatible with the UpdatePanel. Take a look athttp://pjondevelopment.50webs.com/articles/asyncupload.html Regards, Paulo Santos http://pjondevelopment.50webs.com On Dec 20, 12:33 am, "Nathan Sokalski" <njsokal... (AT) hotmail (DOT) com> wrote: I have a FileUpload control which is inside an UpdatePanel which is inside a TabPanel. In my code, I use the FileUpload's HasFile and FileContent.Length properties. However, after I select a file, the HasFile=False, and the FileContent.Length=0. Why is this? Does it have something to do with the TabPanel and UpdatePanel being AJAX? If so, what can I do to fix it? Is there something else I could be doing wrong? Any help would be appreciated. Thanks. -- Nathan Sokalski njsokal... (AT) hotmail (DOT) comhttp://www.nathansokalski.com/- Hide quoted text - - Show quoted text - |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |