Hi,
I'm a newbie for ASP.NET using C#, and for a project, I'm suppose to allow user to upload an excel file through web form.
This can be done with FileUpload. However, when the user clicks Browse, it pop-up a screen with a mini-explorer function and a file extension filter drop-down list of "All files (*.*)". I want to know how can I change the file extension filter drop down list into (*.xls, *.xlsx) only. That way I don't have to worry about user picking up the wrong file.
Although I've searched the forum and many people have said that either it cannot be done, or it's done in-directly by using a Server-side validation or Client-side validation. Although I've got both validation to work, but it's not exactly what I'm looking for.
I know there must be a way because like Bitmap or Microsoft Word Processor or all other programs out there, when you click "Open...", it usually come ...
Go to the complete details ...