Click here to Skip to main content
15,790,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My Requirement is to allow only .xlsx|xls files, nothing else. For this Instead of client script or field validators I would like to filter this mime type when user clicks on browse button of file upload control? In the browse file dialog only .xlsx|.xls files have to be displayed.It can be done using open file dialog in windows forms , How can I achieve the same using file upload control in my web application???Do I need to create a custom control?or any readymade control is available for use..?Is there any control like this in ajax or any other ....

any suggestion is appreciated.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900