Search code examples
asp.netasp.net-membershipmembershipmembership-provider

CreateUserWizard - Change position of the validation message


I am using a CreateUserWizard.

  • By default, the validation error messages are shown in the bottom of the control. Can I change this positioning to be shown above the control so that it is consistent with my other pages?
  • When a user fails to enter a required fied, it displays a asterisk * next to the field. Can I have it also display some text saying that the field is required?

Solution

  • You can use a ContentTemplate to control where elements are displayed, including the validation message. This MSDN tutorial steps you through it. Not sure about the asterisk, though.