RadColorPicker does not show Validation Error

4 posts, 0 answers
  1. Naveen
    Naveen avatar
    1 posts
    Member since:
    Apr 2011

    Posted 28 Sep 2011 Link to this post

    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.

  2. Tina Stancheva
    Tina Stancheva avatar
    3298 posts

    Posted 03 Oct 2011 Link to this post

    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 >>

  3. DevCraft R3 2016 release webinar banner
  4. Stephen McDaniel
    Stephen McDaniel avatar
    35 posts
    Member since:
    Mar 2008

    Posted 12 May Link to this post

    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.
  5. Martin
    Martin avatar
    1042 posts

    Posted 16 May Link to this post

    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.

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top