Hi Telerik, does anyone have any possible solutions to this?
I am setting the row color in the ItemDataBound event handler of the grid as follows:
Label lblBankerRoleID = (Label)item.FindControl(
bankerRoleId = 0;
(bankerRoleId == 0)
// No banker role selected set row color
item.CssClass = (item.RowIndex % 2 == 0) ? noRoleCssClass : noRoleAltCssClass;
The problem is that when the user edits the row on the client side the row color is not set because no postback has occurred so all the rows are colored correctly when the grid is bound but subsequent client side grid editing is not setting the row colors correctly.
item = eventArgs.get_item();
gridRow = sender.Parent();
//Somehow get senders parent?
gridRow.SetBackColor = "CssClassA";
//Somehow set row backcolor
gridRow.SetBackColor = "CssClassB";