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

Grid in ComboBox

0 Answers 76 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 2
Kevin asked on 17 Jul 2008, 09:53 PM
I'm looking for a simple working sample of a RadGrid working inside of a RadComboBox.  Specifically, I'd like to select a row from the grid and have the id as the value reported back in the RadComboBox's SelectedValue property.  The other thing I'm having trouble getting to work is Grid filtering and the proper javascript to prevent the RadComboBox from closing when a filter is selected.  Also the FilterMenu items are showing up behind the grid and I'm getting an error when I try to set the <FilterItemStyle> of the RadGrid.

Here's what I've got so far:
<telerik:RadComboBox runat="server" ID="RadDropDownList" DropDownWidth="400px" AllowCustomText="true" OnClientDropDownClosing="OnClientDropDownClosing"
                    <ItemTemplate> 
                        <div id="divGrid"
                           <telerik:RadGrid  
                                ID="DropDownGrid" runat="server" 
                                AllowFilteringByColumn="True"  
                                AllowPaging="True" AllowSorting="True"  
                                GridLines="None" AllowMultiRowSelection="false" 
                                Width="780px"
                           </telerik:RadGrid> 
                       </div> 
                   </ItemTemplate> 
                   <Items> 
                        <telerik:RadComboBoxItem /> 
                   </Items> 
                </telerik:RadComboBox> 

No answers yet. Maybe you can help?

Tags
ComboBox
Asked by
Kevin
Top achievements
Rank 2
Share this question
or