Hi,
I was wondering if it is possible to apply more than one style to rows in a RadGrid. What I mean by this is I have 2 lists I am grabbing information from and adding it to a DataTable which I then bind to the RadGrid. I enumerate through the first list adding the items to the DataTable then the second and and adding the items to the same DataTable. In the rad grid I set the style property as follows:
I was wondering if it is possible to apply more than one style to rows in a RadGrid. What I mean by this is I have 2 lists I am grabbing information from and adding it to a DataTable which I then bind to the RadGrid. I enumerate through the first list adding the items to the DataTable then the second and and adding the items to the same DataTable. In the rad grid I set the style property as follows:
_theListGrid.MasterTableView.ItemStyle.CssClass =
"listItemBg";
but this applies the style to all of my items.
Is it possible to set the style somewhere else so that my first list has one style and my second list has a different style and for these items to all be in the same RadGrid? If not is there a different approach I can take to have multiple styles?
Thank You
