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. Problem with required filed validator

Problem with required filed validator

Scheduled Pinned Locked Moved ASP.NET
helpquestion
9 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.
  • M Offline
    M Offline
    Malayil alex
    wrote on last edited by
    #1

    Hi, I have a serious problem while using required field validator.. in my page i have one dropdown and one textbox for the textbox i used requiredfiled validator .when loading the page first time i can see the validation control and everything works properly..but in the second time i can't see the validation control even if the the validation is failed ie, textbox is empty.....how can i show that validator to the clients..pls anybody give me a help.. regards alex.

    B I S 3 Replies Last reply
    0
    • M Malayil alex

      Hi, I have a serious problem while using required field validator.. in my page i have one dropdown and one textbox for the textbox i used requiredfiled validator .when loading the page first time i can see the validation control and everything works properly..but in the second time i can't see the validation control even if the the validation is failed ie, textbox is empty.....how can i show that validator to the clients..pls anybody give me a help.. regards alex.

      B Offline
      B Offline
      Balamurugan R A
      wrote on last edited by
      #2

      Alex, if you dont bother can you please show a portion of the code. Validations are always fired when a postback happens.

      Many thanks, Balamurugan

      M 1 Reply Last reply
      0
      • B Balamurugan R A

        Alex, if you dont bother can you please show a portion of the code. Validations are always fired when a postback happens.

        Many thanks, Balamurugan

        M Offline
        M Offline
        Malayil alex
        wrote on last edited by
        #3

        yes ok..but the problem is that validation is taken place in the background..but can't see the message

        1 Reply Last reply
        0
        • M Malayil alex

          Hi, I have a serious problem while using required field validator.. in my page i have one dropdown and one textbox for the textbox i used requiredfiled validator .when loading the page first time i can see the validation control and everything works properly..but in the second time i can't see the validation control even if the the validation is failed ie, textbox is empty.....how can i show that validator to the clients..pls anybody give me a help.. regards alex.

          I Offline
          I Offline
          Imran Khan Pathan
          wrote on last edited by
          #4

          can you tell me what is Display property of validator control? bEst Regard pAthan

          please don't forget to vote on the post that helped you.

          M 2 Replies Last reply
          0
          • M Malayil alex

            Hi, I have a serious problem while using required field validator.. in my page i have one dropdown and one textbox for the textbox i used requiredfiled validator .when loading the page first time i can see the validation control and everything works properly..but in the second time i can't see the validation control even if the the validation is failed ie, textbox is empty.....how can i show that validator to the clients..pls anybody give me a help.. regards alex.

            S Offline
            S Offline
            soni uma
            wrote on last edited by
            #5

            Your Code Like Following?

            M 1 Reply Last reply
            0
            • I Imran Khan Pathan

              can you tell me what is Display property of validator control? bEst Regard pAthan

              please don't forget to vote on the post that helped you.

              M Offline
              M Offline
              Malayil alex
              wrote on last edited by
              #6

              I mean error message can't see..if the validation fails ..

              1 Reply Last reply
              0
              • S soni uma

                Your Code Like Following?

                M Offline
                M Offline
                Malayil alex
                wrote on last edited by
                #7

                *

                M 1 Reply Last reply
                0
                • M Malayil alex

                  *

                  M Offline
                  M Offline
                  Malayil alex
                  wrote on last edited by
                  #8

                  *

                  1 Reply Last reply
                  0
                  • I Imran Khan Pathan

                    can you tell me what is Display property of validator control? bEst Regard pAthan

                    please don't forget to vote on the post that helped you.

                    M Offline
                    M Offline
                    Malayil alex
                    wrote on last edited by
                    #9

                    my code like *

                    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