[Mono-devel-list] (no subject)

Gonzalo Paniagua Javier gonzalo at ximian.com
Fri Apr 23 04:14:34 EDT 2004


El vie, 23-04-2004 a las 06:17, donaldi sp escribió:
> Hi,
> 
> I have a problem with HtmlInputFile control in Mono.
> 
> cmdBrowse is HtmlInputFile
> arrFiles is static ArryList
> lstFiles is ListBox
> 
> In my Page I got a HtmlInputFile box fill with path
> like "E:\...." when I click Add Button which contain
> this code below , I got NullRefences Error.
> 
> if(Page.IsPostBack)
> {
> 				if(cmdBrowse.PostedFile.FileName != "")
> {
> 					arrFiles.Add(cmdBrowse);
> 				
> lstFiles.Items.Add(cmdBrowse.PostedFile.FileName);
> }
> }
> 
> I check the cmdBrowse.PostedFile is null,
> 
> How can it be ?
> 
> I have already add the path of file that I want to
> upload.
> 
> Any Idea About This? sorry for my bad english.
> 
> Thanks in advance

It would be great if you can file a bug report in
http://bugzilla.ximian.com (MCS Class libraries - Sys.Web) with a small
test case and instructions on how to reproduce your problem.

-Gonzalo





More information about the Mono-devel-list mailing list