asp.net - how to get or retain file upload control value after postback -
hi have usercontrol on there 1 file upload control, user control inside tab container on aspx page.hirarchy bellow:
1.master page 2.aspx page having ajax tab control. 3.user control inside tab container. 4.file upload control on user control. , submit button
problem facing: when click on submit button page load event called before buttons on click event value of file upload control getting nulll.
could please tell me how can fetch file upload control value after postback. advance.
the file upload control not retain posted file each request.
when user selects file, available in next postback request occurs.
you should check postedfile on each postback , save file on server.
keep reference path in viewstate.
can process file when user has finished inputs.
Comments
Post a Comment