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
Post a Comment