Problem with HtmlInputFile

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i have a c# asp.net webform that has an HtmlInputFile and a listbox (to hold
the filenames to be uploaded). but HtmlInputFile.PostedFile and
HtmlInputFile.Value are readonly properties. i have to populate the listbox
prior to showing it to the user. the listbox will already contain items (old
files) in it when the user first see it. i am trying to add files to the
HtmlInputFile collection programmatically before letting the user add or
remove files. this will allow the user to remove them (old files) if they
wish. i cant figure out a way to add the old files to the HtmlInputFile
collection. there seems to be no way to set the HtmlInputFile's textbox. is
there an alternative to HtmlInputFile that will accomplish what i need done?
suggestions welcome and thanks in advance.
 
there seems to be no way to set the HtmlInputFile's textbox.

Correct. Imagine the fun a hacker could have if there were... :-)
is there an alternative to HtmlInputFile that will accomplish what i need
done?

Loads - do a Google search...
 
Back
Top