R – validation summary problem

asp.netsummaryvalidation

i have a page where i am using validation summary and required field validators. When i click the validation button error message is being dispalyed in both validation summary is showing message written in required field validators. I want to display different message in validation summary and required field validators.
e.g
validation summary should display "field marked with * are mandatory" and required field validator should display only a "*".

Thanks

Best Answer

Set your validator's Text property to "*". This will be displayed at validator's text when validation fails, and the ErrorMessage will be displayed by the validation summary.

Related Topic