You can display a RadColorPicker in a grid cell by putting it into the grid column's Item Template. For RadGrid this should be done in the following manner:
| <telerik:GridTemplateColumn HeaderText="TextColor" UniqueName="TextColor">
| <telerik:RadColorPicker ID="defaultRadColorPicker1" runat="server" Preset="Standard">
In case your question is about binding a color, please note that you cannot provide the color through declarative binding because only primitive type properties such as string, int, bool are bindable declaratively. Therefore .
What I can suggest is to use the RadGrid's Item_DataBound server event handler and set the selected color using the code behind where you can do the needed casts as shown below:
picker.SelectedColor = ColorTranslator.FromHtml((DataBinder.Eval(e.Item.DataItem, "Color").ToString()));
For your convenience I attached a sample demo project which demonstrates the above mentioned approach.
All the best,
the Telerik team
Check out Telerik Trainer
, the state of the art learning tool for Telerik products.