471,306 Members | 902 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,306 software developers and data experts.

About the Validator Summary Control

I have placed the Compare Validator, and a Range validator for two
TextBoxes, and turn the Visible property false. Then I have palced a
Validator Summary control on the WebForm. But the Summary did not
display the validation summary. What is the problem ?

Nov 19 '05 #1
1 1051
Pathi,

If you change the validator's visible property to false they never even get
rendered on the page. (If you run your page and do a viewsource you'll see
that they aren't even there.)

To do what you're attempting you need to leave visible set to true and
instead set the display property to "None".

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"pathi" <ba*******@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I have placed the Compare Validator, and a Range validator for two
TextBoxes, and turn the Visible property false. Then I have palced a
Validator Summary control on the WebForm. But the Summary did not
display the validation summary. What is the problem ?

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Tom Pearson | last post: by
reply views Thread by Stephen | last post: by
reply views Thread by Bryce Budd | last post: by
1 post views Thread by DotNetGruven | last post: by
2 posts views Thread by Mike Collins | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.