1

I'm pretty new to MVC, I'm trying to create a model that can be localized, but it doesn't seem like that would be possible given that I have to use a custom property attribute to define displayname and validation properties.

Is there a way to dynamically create the model metadata attributes (DisplayName, UIHint, etc..) as opposed to having to define each one using custom property attributes? Ideally i'd like to keep my metadata in a table, xml file - something along those lines.

1

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.