Solved

Filter Files of Type in HtmlInputFile

Posted on 2003-12-09
2
519 Views
Last Modified: 2007-12-19
Is anyone know how to filtering the file type in web using C#? Let say if user select microsoft excel in a dropdownlist, when he clicked on the browse button, the files of type will automatically filter to files in *.xls. As I know the OpenFileDialog can use filter method, but this is only limited to window form. Pls advise on the filtering issue. TQ.
0
Comment
Question by:cheongkabo
2 Comments
 
LVL 18

Accepted Solution

by:
testn earned 30 total points
Comment Utility
although it's the html standard, no one implements it yet.
http://www.cs.tut.fi/~jkorpela/forms/file.html#filter
0
 

Author Comment

by:cheongkabo
Comment Utility
dear testn

The article you suggested is going to check the file type when send/submit button was clicked but the Files of Type in the dialog box is still showing *.*/All Files. My requirement is how to make the Files of Type in the dialog box to be filtered as *.xls   or *.doc or... instead of showing *.*. Would it possible to make it in the web using C#?? TQ.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Detect file exist or not 3 76
asp.net mvc5 3 35
XML to SQL Table using c# 5 44
creating a flowchart from an algorithm 5 19
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now