This is a migrated thread and some comments may be shown as answers.

RadComboBox in GridGroupHeader displays incorrectly

1 Answer 49 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ryan Means
Top achievements
Rank 1
Ryan Means asked on 15 Jun 2009, 08:51 PM
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);  
    }  

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 17 Jun 2009, 10:47 AM
Hello Ryan Means,

Could you try to reproduce the problem with the sample attached to this post and get back to us with more information on the issue.

Thank you.

Greetings,
Tsvetoslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Ryan Means
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or