In my .aspx page, I've a ValidationSummary where I put error messages returned by my Business Layer.
The error messages appears in the summary, ok, but not the "*" that normally appears next to the field =(
In the code behind, I've the following code:
CustomValidator cv = new CustomValidator();
cv.ControlToValidate = field.ID;
cv.ErrorMessage = "Error Message";
cv.Text = "*";
cv.IsValid = false;
Page.Validators.Add(cv);
Basically, I want to add the "*" next to each incorrect field, but without creating CustomValidators for each one... is it possible?