[Mono-devel-list] (no subject)

donaldi sp don_aldi at yahoo.com
Fri Apr 23 00:17:30 EDT 2004


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

donaldi



	
		
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash



More information about the Mono-devel-list mailing list