is there any approach in customizing data annotations just like adding [Uppercase],[Lowercase],[ProperCase] annotations in the model to convert the model in the said cases.??? i Have tried using modelbinder and it only to be set just one data annotations what i want to achieved is to have a model like this:
[Display(Name="Agent Code", Prompt = "Agent Code")]
[CustomAttributes(Case="Uppecase", IsTrim=false)]
[Required(AllowEmptyStrings = false, ErrorMessage = ModelConstants.L_MSG_REQUIRED)]
[StringLength(10)]
public string agent_cd { get; set; }
any idea or suggestions how to achieved my desired output??