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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ValidationSummary

Status
Not open for further replies.

euntair

Programmer
Sep 13, 2007
53
US
Is there a way to add a message to a ValidationSummary in code behind?
 
not out of the box. you need to subclass the validationsummary. Add a public member to add error messages to the summary. google custom validation summary for more details on how to do this.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
If you want to add an actual error message, then you have to do what Jason suggested. There is a HeaderText property of the control if you want to display a header type of message.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top