c# - How to execute asp.net button click event from JavaScript? -



i have 1 file upload control in aspx page , need upload file without clicking on button. user selects file fileupload control, file needs uploaded server.

i have call codebehind method javascript, tried using $("#btnupload").click() , __dopostback('btnbulkupload', 'onclick'); result nothing.

can suggest me solution?

yes, got solution...
had set button's visible property false that's reason not working. changed visible="false" visible="true" , it's working fine.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -