Customize file dialog control in MVC web application

Total Post:29

Points:107

 1491  View(s)
Ratings:
Rate this:
I want to create the functionality in which once user clicks on Browse button File dialog box will open. In this dialog box only 'Excel' format file should be display and also in file type dropdown which is just above Open button in dialog box it should display on one format i.e. for excel.
So for this requirement can anybody give me some good suggestion.
  1. Re: Customize file dialog control in MVC web application

    If you will specify accept=".excel" in <input> tag, you will be able to do the same.
    <input type="file" id="excelFile" accept=".xlsx" name="uploadFile"></input>

      Modified On Apr-06-2018 01:28:58 AM

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.