c# - xval get message from resource file -
i'm working on cms system uses resource file information , errormessages from. client side validation working without problems, it's not getting errormessage resource file. while debugging figured out xval seems errormessages javascript file messages set hard-coded. there way override this?
below code should make relation resourcefile en specify error when field left empty.
[property] [required(errormessageresourcetype = typeof(cmsmessages), errormessageresourcename = "entervalidmoney")] public virtual double shippingcost { get; set; }
xval comes bunch of message js files (in optional/internationalization folder) there appears no documentation on how use them!
it looks need include <script src="..."> block after min library inluded.
Comments
Post a Comment