About the Validator Summary Control

P

pathi

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 ?
 
S

S. Justin Gengo

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,828
Latest member
LauraCastr

Latest Threads

Top