I want to have a button in a page like 'open File'. on which if user clicks, it should open open file dialog box to select a file and as soon as he clicks on the open button it should open the file (in same window or different window)
I tried using the "FileUpload 'Button but it comes in combination along textbox and button. but i need only button.
I tried <input id="file1" Type="File" runat="server"/> in html view this is also the same thing
can anybody help me such that on button click it should open file select dialog box on local machine(where the user is accessing )select file and open it.
i know how to do it in windows app but i need to do it in web app.
Thanks in advance