How-to set the Description property of the ModelMetadata

Posted by user137348 on Stack Overflow See other posts from Stack Overflow or by user137348
Published on 2010-05-13T10:40:57Z Indexed on 2010/05/13 10:44 UTC
Read the original article Hit count: 172

I've putted a Description attribute on my property,but the Description property on the ModelMetada is null anyway.

[Description("sss")]
public int Id { get; set; }

BTW Is I've putted corect?

© Stack Overflow or respective owner

Related posts about asp.net-mvc-2

Related posts about asp.net-mvc-2-metadata