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

[Solved] Column template for color selection

1 Answer 72 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Artem
Top achievements
Rank 1
Artem asked on 02 Sep 2011, 12:00 PM
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.

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 02 Sep 2011, 12:15 PM
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 >>

Tags
GridView
Asked by
Artem
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or