Column template for color selection

2 posts, 0 answers
  1. Artem
    Artem avatar
    27 posts
    Member since:
    Feb 2011

    Posted 02 Sep 2011 Link to this post

    Hi.
    I want add to my grid column with color selection control. Where user can select color and return his value as string(like #FFFFFF) or as RGB (256,256,256).
    Thanks and regards.
  2. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 02 Sep 2011 Link to this post

    Hello Sharp,

    To place a RadColorPicker in a cell , you need to :
    1. Declare a DataTemplate with a RadColorPicker inside
    2. Bind the color picker to your property
    3. Set this DataTemplate to the CellTemplate property of your column.

    In case you find troubles while implementing this just let me know.

    Greetings,
    Pavel Pavlov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top