Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Filter the files in ASP.Net dialog box

Filter the files in ASP.Net dialog box

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-net
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    psmukil
    wrote on last edited by
    #1

    Dear All, Is it possible to filter the files to be selected in a Input File control in ASP.Net 2005. Or can we use Open dialog control in ASP page, is it possible. I need the filter the files such as only PDF files, or only .doc or .txt etc., Please help me to solve this problem. Regards Mukilan.P.S

    M 1 Reply Last reply
    0
    • P psmukil

      Dear All, Is it possible to filter the files to be selected in a Input File control in ASP.Net 2005. Or can we use Open dialog control in ASP page, is it possible. I need the filter the files such as only PDF files, or only .doc or .txt etc., Please help me to solve this problem. Regards Mukilan.P.S

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      Hi there, The input file element does not support filtering, so you may use the client side/server side script to validate the value of the control.

      P 1 Reply Last reply
      0
      • M minhpc_bk

        Hi there, The input file element does not support filtering, so you may use the client side/server side script to validate the value of the control.

        P Offline
        P Offline
        psmukil
        wrote on last edited by
        #3

        Thank you very much for your immediate response. Ya i will try to filter through the value retrun from the input file dialog. Regards Mukilan.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups