c# - OpenFileDialog in ASP.NET -
how can run sth openfiledialog? in asp.net there's no control.
yes, there's option use
<input type="file" name="filediag" />
but there's default name disabled modifications.
i found either solution
<input type="file" name="filediag" style="display:none" /> <input type="button" value="browse..." onclick="document.form1.filediag.click()" />
but doesn't work...or i'm doing sth wrong.
is there other possibility this?
you must have missed fileupload
control - equivalent html input type="file"
used uploading files.
it exposes uploaded file - name , contents.
Comments
Post a Comment