Base solution for your next web application
Open Closed

XML localization in DataAnnotations #42


User avatar
0
cosmic created

Hi,
is it possible to use ABP XML localization source in DataAnnotations?

For example, with the Resource file it works:

[Required]
[Display(ResourceType = typeof(MyResource), Name = "Password")]
public string Password { get; set; }

But, is it possible to do with the XML file localization source defined in the ABP module as a DictionaryBasedLocalizationSource?


1 Answer(s)