This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi I'm using the built in membership provider with MVC3. I've added the AspnetUser entity to my Lightspeed model in the designer. Validate Presence is set to true for the UserName property of AspnetUser and Validate Email is set to true because the user name needs to actually be an email address. The validate presence works fine but the email format validation isn't working. The generated code is:
The generated HTML from @HTML.TextBoxFor is:
|
|
|
No you havnt missed anything - we dont translate ValidateEmail into DataAnnotation based markup.
|
|