FileUpload control does not recognize having a selected file
FileUpload control does not recognize having a selected file
am 20.12.2007 03:33:00 von Nathan Sokalski
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
njsokalski@hotmail.com
http://www.nathansokalski.com/
Re: FileUpload control does not recognize having a selected file
am 20.12.2007 13:05:57 von pjondevelopment
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/articles/asyncupload.html
Regards,
Paulo Santos
http://pjondevelopment.50webs.com
On Dec 20, 12:33 am, "Nathan Sokalski" 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...@hotmail.comhttp://www.nathansokalski.com/
Re: FileUpload control does not recognize having a selected file
am 20.12.2007 15:33:47 von Nathan Sokalski
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" wrote in message
news:1225b55e-976d-44c4-b0dc-d2d0c57452fb@r29g2000hsg.google groups.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 at http://pjondevelopment.50webs.com/articles/asyncupload.html
>
> Regards,
>
> Paulo Santos
> http://pjondevelopment.50webs.com
>
> On Dec 20, 12:33 am, "Nathan Sokalski" 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...@hotmail.comhttp://www.nathansokalski.com/
>
Re: FileUpload control does not recognize having a selected file
am 21.12.2007 12:39:51 von pjondevelopment
Hi, Hathan
As you could see my control is free AND open-source.
Feel free to use it as you wish.
Regards,
Paulo Santos
http://pjondevelopment.50webs.com
On Dec 20, 12:33=A0pm, "Nathan Sokalski" wrote:
> 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 f=
or
> personal use, I would prefer not to use third-party controls)
>
> "PJ on Development" wrote in messagenews:1225b=
55e-976d-44c4-b0dc-d2d0c57452fb@r29g2000hsg.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.htm =
l
>
> > Regards,
>
> > Paulo Santos
> >http://pjondevelopment.50webs.com
>
> > On Dec 20, 12:33 am, "Nathan Sokalski" 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=3DFalse, and th=
e
> >> FileContent.Length=3D0. 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...@hotmail.comhttp://www.nathansokalski.com/- Hide quoted text =
-
>
> - Show quoted text -