Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CollapsiblePanel and ASP.NET Validators

Status
Not open for further replies.

Peppi

Programmer
Apr 9, 2001
205
CA
Hi,

I have a CollapsiblePanel that contains validator controls. I have the Display property of the validators set to Dynamic so that space is not reserved for them on the page. The problem that is happening is that the validators are being cut off when validation fails, because the size of the collapsible panel is not big enough. How can I change the size of the panel programmatically when validation fails?

Also, I need to automatically expand the panel if it is currently collapsed and validation has failed on one of the controls within the panel. How to do this?

Thx.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top