First of all, I am using the Infragistics 11.1.20111.2042.
When i validate the controls on a form I change the appearance of the control on validation failure (background color, image and so on).
To do this I modify the ErrorAppearance of the ValidationSettings of each control (actually I am using a custom StyleResource but it's the same). The only control on which it seems the ErrorAppearance doesn't work is the UltraOptionSet, the control is not affected of the values I'm trying to set on it. There could be something different on this control regarding validation styling?
Thank you
Claudio Di Flumeri
Hello Claudio,
We have decided to examine your issue further. The next step will be for a developer to review my investigation and confirm my findings or to offer another fix, or other resolution.
You can view the status of all development issues connected to this case from the "Development Issues" tab, when viewing this case on the "My Support Requests" page of our website
Hello,
Thank you for your reply.
I was wondering why the UltraOptionset control has a different behaviour regarding the ErrorAppearance property compared to the other controls. I know I can manage the ValidationError or Validating event of the Validator Control, and it's what I am doing right now setting the ErrorAppearance property for all the validated controls. Only with the OptionSet controls this doesn't work.
Sometimes it's useful validating an OptionSet, for example if you want the user specify a value and so the OptionSet starts blank (maybe you dont have a default one). In this case the "Field required" error is raised and you want to customize the appearance of the error.
For now I'll manage the particular case of the OptionSet checking the e.Control property in ValidationError/Validating event.
Regards