[Mono-dev] ASP.NET MVC 3 with Razor on Mono 2.10.1 ?

Yuri yuriksan at gmail.com
Sat Oct 29 06:13:09 EDT 2011


Seems the ErrorMessage has a placeholder {2} which I've changed to {1} below
in the RegistrationModel

        [Required]
        [StringLength(100, ErrorMessage = "The {0} must be at least *{1}*
characters long.", MinimumLength = 6)]
        [DataType(DataType.Password)]
        [Display(Name = "Password")]
        public string Password { get; set; }


--
View this message in context: http://mono.1490590.n4.nabble.com/ASP-NET-MVC-3-with-Razor-on-Mono-2-10-1-tp3486560p3950444.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20111029/65f3f3b0/attachment.html 


More information about the Mono-devel-list mailing list