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