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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. validators problem

validators problem

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

    I am having a problem with various validators in ASP.NET If I want to use two validators on one textbox, then i am not able to display the messages at the same place. I am also using a Validation summary control. But if I set the property "visible= false " for a validation control then, validation summary is also not displayed. I want to display the validation summary but not the individual validation control error messages. Please help me out, it's too urgent. thank you.

    M K 2 Replies Last reply
    0
    • J Jmshastri

      I am having a problem with various validators in ASP.NET If I want to use two validators on one textbox, then i am not able to display the messages at the same place. I am also using a Validation summary control. But if I set the property "visible= false " for a validation control then, validation summary is also not displayed. I want to display the validation summary but not the individual validation control error messages. Please help me out, it's too urgent. thank you.

      M Offline
      M Offline
      Mike Ellison
      wrote on last edited by
      #2

      Leave the validation summary visible, set the ErrorMessage properties for your textbox validators to the messages you want, then leave the Text property blank. This should let you display error messages in the summary instead of next to the textbox.

      Jmshastri wrote:

      Please help me out, it's too urgent.

      Everything is always urgent. Saying so is redundant.

      1 Reply Last reply
      0
      • J Jmshastri

        I am having a problem with various validators in ASP.NET If I want to use two validators on one textbox, then i am not able to display the messages at the same place. I am also using a Validation summary control. But if I set the property "visible= false " for a validation control then, validation summary is also not displayed. I want to display the validation summary but not the individual validation control error messages. Please help me out, it's too urgent. thank you.

        K Offline
        K Offline
        Kapil Thakur
        wrote on last edited by
        #3

        your problem states - "If I want to use two validators on one textbox, then i am not able to display the messages at the same place." set the Display property of each validator message to "dynamic". -- modified at 1:23 Tuesday 18th April, 2006

        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