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. Fire Validation Summary in textbox blur

Fire Validation Summary in textbox blur

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

    Hi All, I have validation controls on my page and I am using ValidationSummary to show them. But ValidationSummary is displaying messages only when submit button is clicked. Is there any way to show the ValidationSummary messages immediately after coming out of the control (like onblur). Is there any way to show the user that "This is required field", but the message should be displayed in the ValidationSummary not in the RequiredField validator. Eventhough I am using RequiredField validator, but when its showing the message its spoiling the page alignments. So I want to show it in the ValidationSummary but onblur of that particular control. Is there any way please, anybody please help me, I am desperately need of it please, I am googling too. Thanks in advance.

    Thanks & Regards, Abdul Aleem Mohammad St Louis MO - USA

    R J 2 Replies Last reply
    0
    • I indian143

      Hi All, I have validation controls on my page and I am using ValidationSummary to show them. But ValidationSummary is displaying messages only when submit button is clicked. Is there any way to show the ValidationSummary messages immediately after coming out of the control (like onblur). Is there any way to show the user that "This is required field", but the message should be displayed in the ValidationSummary not in the RequiredField validator. Eventhough I am using RequiredField validator, but when its showing the message its spoiling the page alignments. So I want to show it in the ValidationSummary but onblur of that particular control. Is there any way please, anybody please help me, I am desperately need of it please, I am googling too. Thanks in advance.

      Thanks & Regards, Abdul Aleem Mohammad St Louis MO - USA

      R Offline
      R Offline
      R Giskard Reventlov
      wrote on last edited by
      #2

      Start here[^].

      "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

      1 Reply Last reply
      0
      • I indian143

        Hi All, I have validation controls on my page and I am using ValidationSummary to show them. But ValidationSummary is displaying messages only when submit button is clicked. Is there any way to show the ValidationSummary messages immediately after coming out of the control (like onblur). Is there any way to show the user that "This is required field", but the message should be displayed in the ValidationSummary not in the RequiredField validator. Eventhough I am using RequiredField validator, but when its showing the message its spoiling the page alignments. So I want to show it in the ValidationSummary but onblur of that particular control. Is there any way please, anybody please help me, I am desperately need of it please, I am googling too. Thanks in advance.

        Thanks & Regards, Abdul Aleem Mohammad St Louis MO - USA

        J Offline
        J Offline
        Joshua Omundson
        wrote on last edited by
        #3

        I beleive the Validation Summary fires when a post back is attempted. Here[^] is an article that might help. To get around the page alignment issue, I put an asterisk in the RequiredField Validator text property. That way when the onblur even fires, you will have a little red star appear, which shouldn't affect your layout too much.

        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