Input File Filter

Posted on 2006-06-07
Last Modified: 2006-11-18
Hi, i created a htmlcontrol inputfile (A file selector). how do i make it the browser window, user can only see *.wav and *.mp3 files so they are only able to select these 2.

Question by:jaxrpc
    LVL 3

    Expert Comment

    I know you can use a regular expression validator to restrict what kinds of files can be uploaded, but the user is still allowed to choose whatever they want, it just won't work.  Don't know of any way of restricting it in the Browse dialog.
    LVL 27

    Accepted Solution

    You simpley can not do that with the htmlcontrols, the client doesn't what they want to to with their machines
    best bet is an activeX or a java applet

    Good luck

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    User art_snob ( encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    759 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

    10 Experts available now in Live!

    Get 1:1 Help Now