Hi,
I am using XamNumericInput control and all's well except that I need to change the validation error template.
Please see Error-Message-Popup.png attached.
I need to change the background to red and also the font.
I tried to use the default style XAML for XamNumericInput but couldn't get it working.
I am using SL5 and Infragistics NetAdvantage 2013.1.
Please can you suggest how can I change the validation error message template.
Thanks and Regards
Keshav
Hello Keshav,
Thank you for your post.
I have been looking into it and the image that you have provided. What I can suggest is to re-template the default style for ValidationDecorator. In it you can change the ErrorForeground and ErrorBackground. You can find the default style for ValidationDecorator on your computer in the destination:
C:\Program Files (x86)\Infragistics\2014.2\Silverlight\DefaultStyles\Infragistics.Silverlight
You can find the style in file generic_shared.xaml. I created a short sample application based on your scenario to show you how you can implement the functionality you want.
Please let me know if you need any further assistance on the matter.
Hi Zhivko,
Many thanks for your reply.
I have now been ably to re-template the style for ValidationDecorator for errored states based on your suggestion.
This ticket can be closed now.
Kind regards
Thank you for your reply,
I am very glad that my suggestion was helpful for you. Please let me know if you need any further assistance on the matter.