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. Simple question on Validation Summary Control

Simple question on Validation Summary Control

Scheduled Pinned Locked Moved ASP.NET
questionhelp
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.
  • J Offline
    J Offline
    just4ulove7
    wrote on last edited by
    #1

    Hey, I have a Compare Validator(more than 1). I want to display a validation summary for it. But when i save it the Error Message for the Compare Validator also get displayed. I have placed the compare validator below the text box...and the validation summary at the bottom of the page. Now i want to display the error message as a summary... but it gets displayed for a compare validator too...and for validation summary too. Heres the code.. What am i doing wrong? and Validation summary...

    V 1 Reply Last reply
    0
    • J just4ulove7

      Hey, I have a Compare Validator(more than 1). I want to display a validation summary for it. But when i save it the Error Message for the Compare Validator also get displayed. I have placed the compare validator below the text box...and the validation summary at the bottom of the page. Now i want to display the error message as a summary... but it gets displayed for a compare validator too...and for validation summary too. Heres the code.. What am i doing wrong? and Validation summary...

      V Offline
      V Offline
      Vasudevan Deepak Kumar
      wrote on last edited by
      #2

      CompareValidator needs Display=None, since the validation failure messages would now be routed to the Validation Summary. Vasudevan Deepak Kumar Personal Web: http://vdeepakkumar.netfirms.com/ I Blog At: http://deepak.blogdrive.com/

      J 1 Reply Last reply
      0
      • V Vasudevan Deepak Kumar

        CompareValidator needs Display=None, since the validation failure messages would now be routed to the Validation Summary. Vasudevan Deepak Kumar Personal Web: http://vdeepakkumar.netfirms.com/ I Blog At: http://deepak.blogdrive.com/

        J Offline
        J Offline
        just4ulove7
        wrote on last edited by
        #3

        Thanks a lot

        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