|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
FileUpload ControlDear Experts,
May I ask, how can I remain the selected file that has been chosen through the Browse button in the Fileupload control in asp.net after a postback? Current, when the postback is true, the value/selected file in the fileupload is being initialized. Please help. Many thanks in advance. Regards, SB This is a security feature of the file upload control that cannot be altered.
The filename is not retained between postbacks. It may be possible to get around this with client side code, but I'm not sure I'd recommend that since you'd be overriding carefully thought out security precautions. Show quoteHide quote "Seok Bee" wrote: > Dear Experts, > > May I ask, how can I remain the selected file that has been chosen through > the Browse button in the Fileupload control in asp.net after a postback? > Current, when the postback is true, the value/selected file in the fileupload > is being initialized. > > Please help. > > Many thanks in advance. > > Regards, > SB
radiobuttonlist.selectedIndex always -1.........
How to read value of a dynamically created radiobuttonlist control? What's the 'preferred' way to divide a Web page into sections? Login control and validation Trying to set stored procedure parameter for sqldatasource in formview (edit mode) asp.net control to run in web page like just COM refresh gridview asp:Repeater + no viewstate + DataBind() ?? Where are the events of the aspx? Looking for graphic control to use in .NET |
|||||||||||||||||||||||