I have added a RadComboBox to the GridGroupHeader of my grid, however, the combobox does not display correctly. You can no longer see the drop down arrow and when you hover over the drop down it is not using the correct style for the combo box. It may be picking up on styles from the grid row. I am using version 2009.1.402.35 of the controls with the Default theme. I have also included my ItemDataBound code below to show what I am trying to accomplish.
protected void rgBuySell_ItemDataBound(object sender, GridItemEventArgs e) |
{ |
if (e.Item is GridGroupHeaderItem) |
{ |
GridGroupHeaderItem item = (GridGroupHeaderItem)e.Item; |
item.DataCell.Controls.Clear(); |
item.DataCell.Text = ""; |
RadComboBox rcbTradeUsing = new RadComboBox(); |
rcbTradeUsing.ID = "rcbTradeUsing"; |
rcbTradeUsing.Items.Add(new RadComboBoxItem("Dollars", "1")); |
rcbTradeUsing.Items.Add(new RadComboBoxItem("Percent", "2")); |
item.DataCell.Controls.Add(rcbTradeUsing); |
} |
} |