Hi,
I have a command button that opens the colorselector dialog. I would like to return that color and set the background of a cell, in other words cell 2 for row 3 for example. Is there a quick and easy way to do this? nothing has worked for me so far.
You must use CellFormatting to apply formatting and CommandCellClicked to handle the buttons' click events. You have to save the desired color in the RowInfo tag and then use it in CellForamatting event. Note that you have to invalidate the Row so that the change becomes visible. Note also that the Tag property differs substantially in RowInfo and CellElement. The former is a property of every row so when you scroll it works ok. The latter is a property only of the visible cells. The grid uses UI virtualization - CellElements are reused when you scroll - so saving the Color in its tag does not make sense.
Do not hesitate to contact me back if you have more questions.
All the best,
Nick
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.