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:
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> |