This is a migrated thread and some comments may be shown as answers.

RadColorPicker does not show Validation Error

3 Answers 39 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
Naveen
Top achievements
Rank 1
Naveen asked on 28 Sep 2011, 02:08 PM
Hi,
I have added a RadColorPicker control on xaml and binded (two way) its selected color property with a string. I am raising an error in cs file for it if some color is not matching with the predefined string. But it does not show any validation error (Red color box).
Please suggest any solution.

Thanks
Naveen

3 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 03 Oct 2011, 02:21 PM
Hi Naveen,

Unfortunately, the RadColorPicker has no built-in support for validation scenarios like yours. I logged your suggestion as a feature request in our PITS where you can vote for it thus increasing its priority. I also updated your Telerik account accordingly.

In the meantime you'll have to create your own logic to display a validation tooltip. The RadColorPicker ControlTemplate has no validation elements and you'll have to add such and control their behavior based on your validation logic.

Best wishes,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Stephen McDaniel
Top achievements
Rank 1
answered on 12 May 2016, 08:40 PM
Has there been any update to this?  Nearly 5 years later and this control still does not have built-in support for showing validation errors.  Also, it seems the PITS system has been retired so I have no other avenue to track the progress of this.
0
Martin Ivanov
Telerik team
answered on 16 May 2016, 08:53 AM
Hi Naveen,

Currently, we do not have plans to introduce a visual validation for the selected color property of RadColorPicker. In order to achieve such effect you can use the Tina's approach that includes modifying the ControlTemplate of the control and writing additional validation behavior.

Regards,
Martin
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
ColorPicker
Asked by
Naveen
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Stephen McDaniel
Top achievements
Rank 1
Martin Ivanov
Telerik team
Share this question
or