p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 2.0 Basics (http://p2p.wrox.com/forumdisplay.php?f=136)
-   -   Filter File Types in ASP.NET File Upload (http://p2p.wrox.com/showthread.php?t=58508)

ramuis78 May 29th, 2007 12:21 PM

Filter File Types in ASP.NET File Upload

Anyone have idea about how to filter file types in asp.net file upload control. So that we ask user to select those files from Dialog box instead of regular exp/java script msg box.


planoie May 30th, 2007 09:21 PM

The <input type="file"> HTML element is limited to what the browser supports. There is no way I know of to specify a file type filter. All you can do is check the value in the element after they make a selection and/or check the file that is actually uploaded.


ramuis78 May 31st, 2007 10:50 AM

Thanks for your quick reply.


All times are GMT -4. The time now is 12:12 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.