Prev: Ajax Frame Work Failed to Load :ERROR
Next: Visual Studio 2010 puts 4.0 classes into 3.5 ASP.NET project
From: bthumber on 21 Jun 2010 15:40 I trying to save a file using the FileUpload control but it tells me that there is no file. Please see code: void SaveFile() { if (FileUpload1.HasFile) // fails here { string filepath ... } Is there something else I need to do first???
From: Eric on 23 Jun 2010 05:56
You may want to take a look at the AJAX AsyncFileUpload control. http://www.asp.net/ajaxlibrary/act_AsyncFileUpload.ashx It's much better than the standard file upload control. rg, Eric "bthumber" wrote: > I trying to save a file using the FileUpload control but it tells me that > there is no file. Please see code: > void SaveFile() > { > if (FileUpload1.HasFile) // fails here > { > string filepath ... > } > > Is there something else I need to do first??? |