Hi!
I have a RadGrid with client side selecting (ClientSettings.Selecting.AllowRowSelect=true).
I use a Skin (Default) to control the visual appearance of the grid.
For each item in the grid I set the CssClass (corresponding to a row definition in the skin) on server side to get the right appearance (depending on the status of the content, not the GridItemType).
I select some items on client side. It looks good and the "SelectedRow_Default" class will be applied to the selected items on client side. But as soon as I make a postback I will lose the visual appearance of the selected items. The CssClass defined on the server side will be used even if the items are still selected.
If I don't set the CssClass for items on server side then the "selected appearance" will be maintained even after postback.
My question is:
Is it possible to "apply" the "SelectedRow_Default" for all selected items on client side after postback to make sure that they look selected? Or is there an other solution to my problem?
Thanks
/Mats
I have a RadGrid with client side selecting (ClientSettings.Selecting.AllowRowSelect=true).
I use a Skin (Default) to control the visual appearance of the grid.
For each item in the grid I set the CssClass (corresponding to a row definition in the skin) on server side to get the right appearance (depending on the status of the content, not the GridItemType).
I select some items on client side. It looks good and the "SelectedRow_Default" class will be applied to the selected items on client side. But as soon as I make a postback I will lose the visual appearance of the selected items. The CssClass defined on the server side will be used even if the items are still selected.
If I don't set the CssClass for items on server side then the "selected appearance" will be maintained even after postback.
My question is:
Is it possible to "apply" the "SelectedRow_Default" for all selected items on client side after postback to make sure that they look selected? Or is there an other solution to my problem?
Thanks
/Mats