Posted on: 5/18/2015 1:45:34 PM | Views : 612

Hello,
I try to add a Required Field Validator dinamically next to a Textbox in this way:
RequiredFieldValidator textControlRequiredFieldValidator = new RequiredFieldValidator();                 textControlRequiredFieldValidator.ControlToValidate = textbox.ID;                 textControlRequiredFieldValidator.Enabled = true;                 textControlRequiredFieldValidator.ErrorMessage = ErrorMessage;           &n ...

Go to the complete details ...