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. Missing FileUpload Path

Missing FileUpload Path

Scheduled Pinned Locked Moved ASP.NET
helpvisual-studio
5 Posts 4 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.
  • S Offline
    S Offline
    slSoftware
    wrote on last edited by
    #1

    Hi all Im using VS 2003 for small web application i have a problem when im using fileuploader,i have some mandatory fields and im using labels for check the requried fields,when i click the submit button my file Uploader path is clear when mandatory field is left, i want to avoid the clear the path of file uploader when that kind situation pls help me to do this, Thanks,

    N T 2 Replies Last reply
    0
    • S slSoftware

      Hi all Im using VS 2003 for small web application i have a problem when im using fileuploader,i have some mandatory fields and im using labels for check the requried fields,when i click the submit button my file Uploader path is clear when mandatory field is left, i want to avoid the clear the path of file uploader when that kind situation pls help me to do this, Thanks,

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      This is not possible. You can't write to FileUpload control.

      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

      1 Reply Last reply
      0
      • S slSoftware

        Hi all Im using VS 2003 for small web application i have a problem when im using fileuploader,i have some mandatory fields and im using labels for check the requried fields,when i click the submit button my file Uploader path is clear when mandatory field is left, i want to avoid the clear the path of file uploader when that kind situation pls help me to do this, Thanks,

        T Offline
        T Offline
        Tripathi Swati
        wrote on last edited by
        #3

        There is some problem in validation because if any field which is mandatory left blank then it should not make server trip and when you click on submit it will take server trip so at that time path clear is very obvious. So make sure about validations.

        Reasons are not Important but Results are Important. Swati Tripathi

        S 1 Reply Last reply
        0
        • T Tripathi Swati

          There is some problem in validation because if any field which is mandatory left blank then it should not make server trip and when you click on submit it will take server trip so at that time path clear is very obvious. So make sure about validations.

          Reasons are not Important but Results are Important. Swati Tripathi

          S Offline
          S Offline
          slSoftware
          wrote on last edited by
          #4

          Thank you.

          D 1 Reply Last reply
          0
          • S slSoftware

            Thank you.

            D Offline
            D Offline
            D4ever
            wrote on last edited by
            #5

            You can Use RequiredFieldValidator of Ajax Which will popup an error message on lostFocus of that control. try if not getting then reply.

            Darshana Pathak

            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