Hi,
no there isn't as this is security related (if you could write to it, you
could theoretically upload files from client without user knowing that)
--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
"Dave Adler" <> wrote in message
news:...
Is there any way to retain the value of an HtmlInputFile control through a
postback?
I do some server side validation on the page when it is submitted and if an
error occurs on the page the HtmlInputFile control value is blank after the
postback. The EnableViewState for the control is set to true. I can't put
the postedFile.filename value in a hidden control and then put it back into
the HtmlInputFile control on postback because the postedFile.filename and
the value properties are read-only.
Any ideas?
Thanks in advance
David
|