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. validation for fileuploader

validation for fileuploader

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelpquestion
3 Posts 3 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.
  • U Offline
    U Offline
    UD IA
    wrote on last edited by
    #1

    hi i have a file uploader for file upload. i want a validation that user can select only .jpg, .png, .bmp etc. picture files can be store for another not work or given a error message. and now this time i am saving only .jpg images so when i store in my image folder i given .jpg extension for image manually can i need to change this or it will handle by asp.net. :-D

    I will do my best?

    M M 2 Replies Last reply
    0
    • U UD IA

      hi i have a file uploader for file upload. i want a validation that user can select only .jpg, .png, .bmp etc. picture files can be store for another not work or given a error message. and now this time i am saving only .jpg images so when i store in my image folder i given .jpg extension for image manually can i need to change this or it will handle by asp.net. :-D

      I will do my best?

      M Offline
      M Offline
      Manas Bhardwaj
      wrote on last edited by
      #2

      Write a javascript function which can check the extension of the file before uploading.

      Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

      1 Reply Last reply
      0
      • U UD IA

        hi i have a file uploader for file upload. i want a validation that user can select only .jpg, .png, .bmp etc. picture files can be store for another not work or given a error message. and now this time i am saving only .jpg images so when i store in my image folder i given .jpg extension for image manually can i need to change this or it will handle by asp.net. :-D

        I will do my best?

        M Offline
        M Offline
        metallica_rock10
        wrote on last edited by
        #3

        Check this out. File Uploader[^]

        ASP.NET

        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