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. validator not showing

validator not showing

Scheduled Pinned Locked Moved ASP.NET
helpdatabasetoolsquestionannouncement
5 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.
  • H Offline
    H Offline
    Harikrk
    wrote on last edited by
    #1

    i have a set of admin pages in my site. These pages are created using a master page. These pages use update panel and script manager for updating the values to database. All these pages are working fine except one. The structure of the pages are same. In one of these pages, when i submit the form, the validators are not showing the error messages. But actual validations are working there, when an error is there, it is actually focusing to the error control and form is getting submitted only after the the page is validated. When i checked the source of the page after a wrong validation is given, it is showing the validators with style="display:none". Can anyone help me to resolve this issue? Thanks in advance

    S S 2 Replies Last reply
    0
    • H Harikrk

      i have a set of admin pages in my site. These pages are created using a master page. These pages use update panel and script manager for updating the values to database. All these pages are working fine except one. The structure of the pages are same. In one of these pages, when i submit the form, the validators are not showing the error messages. But actual validations are working there, when an error is there, it is actually focusing to the error control and form is getting submitted only after the the page is validated. When i checked the source of the page after a wrong validation is given, it is showing the validators with style="display:none". Can anyone help me to resolve this issue? Thanks in advance

      S Offline
      S Offline
      Sherin Iranimose
      wrote on last edited by
      #2

      May be some css class name and the validator control's ID are same. Check it out.

      EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE. How to post a question

      H 1 Reply Last reply
      0
      • S Sherin Iranimose

        May be some css class name and the validator control's ID are same. Check it out.

        EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE. How to post a question

        H Offline
        H Offline
        Harikrk
        wrote on last edited by
        #3

        I tried that also.. But that is not the issue.. seems to be strange activity :(

        1 Reply Last reply
        0
        • H Harikrk

          i have a set of admin pages in my site. These pages are created using a master page. These pages use update panel and script manager for updating the values to database. All these pages are working fine except one. The structure of the pages are same. In one of these pages, when i submit the form, the validators are not showing the error messages. But actual validations are working there, when an error is there, it is actually focusing to the error control and form is getting submitted only after the the page is validated. When i checked the source of the page after a wrong validation is given, it is showing the validators with style="display:none". Can anyone help me to resolve this issue? Thanks in advance

          S Offline
          S Offline
          shames Sam
          wrote on last edited by
          #4

          validator control work in javascript when you inser it update panel then scriptmanager override the javascript function of validation control . so copy this link in your browser for your answer weblogs.asp.net/scottgu/archive/2007/01/25/links-to-asp-net-ajax-1-0-resources-and-answers-to-some-common-questions.aspx thanks sam

          Web Developer

          H 1 Reply Last reply
          0
          • S shames Sam

            validator control work in javascript when you inser it update panel then scriptmanager override the javascript function of validation control . so copy this link in your browser for your answer weblogs.asp.net/scottgu/archive/2007/01/25/links-to-asp-net-ajax-1-0-resources-and-answers-to-some-common-questions.aspx thanks sam

            Web Developer

            H Offline
            H Offline
            Harikrk
            wrote on last edited by
            #5

            thanks sam that worked for me :)

            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