Selasa, 25 Januari 2011

Prefixing Input Elements Of Partial Views With ASP.NET MVC

Suppose we have the following set of classes in an ASP.NET MVC project:public class NameModel{  [Display(Name = "First name")]  [Required]  public string FirstName { get; set; }  [Display(Name = "Last name")]  [Required]  public string LastName { get; set; }} public class AddressModel{  [Required]  public string Street { get; set; }  [Required]  public int Number { get; set; }  [Display(Name =

Tidak ada komentar:

Posting Komentar