You need to cast to HttpPostedFile http://dotnetslackers.com/articles/aspnet/Upload_multiple_files_using_the_HtmlInputFile_control.aspx
On Fri, Feb 6, 2009 at 11:55 PM, Miguel Madero <[email protected]> wrote: > Is SL an option? If so you can use the FileUploader and even do some > manipulation at the client side, like compress, resize or crop images, > then zip them all and send everything. > > To do that on ASP.NET/HTML I think you need to change the type of the > form. > > On Fri, Feb 6, 2009 at 11:00 PM, Muhammad Niaz > <[email protected]> wrote: > > Hi all, > > > > I want to upload unlimited file(s) as attachment as Google, yahoo do. > Using > > asp.net 2.5. > > > > > > > > > > > > > > > > What I have done,: > > > > > > > > · Tried to add controls at runtime on page but no success, when > page > > come on server the server lost them why.? > > > > · Using java script I have added unlimited {input type=file} on > the > > client side, but server dot know them. Why.? Although it show in Watch > but > > as string type. > > > > > > > > > > > > > > > > Any solution please > > > > > > > > > > > > > > > > Regards, > > > > -N > > > > ________________________________ > > Support procedure: https://www.codify.com/lists/support > > List address: [email protected] > > Subscribe: [email protected] > > Unsubscribe: [email protected] > > List FAQ: http://www.codify.com/lists/ozsilverlight > > Other lists you might want to join: http://www.codify.com/lists > > > > -- > Miguel A. Madero Reyes > www.miguelmadero.com (blog) > [email protected] > > -------------------------------------------------------------------------------- > Support procedure: https://www.codify.com/lists/support > List address: [email protected] > Subscribe: [email protected] > Unsubscribe: [email protected] > List FAQ: http://www.codify.com/lists/ozsilverlight > Other lists you might want to join: http://www.codify.com/lists > > -------------------------------------------------------------------------------- Support procedure: https://www.codify.com/lists/support List address: [email protected] Subscribe: [email protected] Unsubscribe: [email protected] List FAQ: http://www.codify.com/lists/ozsilverlight Other lists you might want to join: http://www.codify.com/lists
