c# - Asp.Net method that work for automatic file Upload -


i using fileupload on asp.net c# page , button upload browsed picture. if file being uploaded qualify validation saved , instantly shown in asp.net image below upload button. made alot of search find out asp.net fileupload control autopostback method not find. problem having when user click upload button , when page rendered values in textboxes disappear , page go top. want task using ajax cannot fileupload has no autopostback event. can give me idea or alternative way of doing this. method usisng user not require upload button. thanks

you must full postback fileupload control, since not designed asynchronous postback.

look under using fileupload control in partial-page updates in msdn fileupload web server control

but try using iframe , <input type="file"/> in example: create ajax style file upload

there ajaxfileupload control asp.net control toolkit: http://www.asp.net/ajaxlibrary/ajaxcontroltoolkitsamplesite/ajaxfileupload/ajaxfileupload.aspx


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -