VS2008 2010.1.706.35 IE8
I’m populating RadComboBox in RadGrid OnRowSelected() on client side.
The dropdown is filled, but the height is not dynamically sized.
I’m populating RadComboBox in RadGrid OnRowSelected() on client side.
// load address types for the related combo function SetAddressCombo(){ var grid = $find("<%=RadContactMailings.ClientID %>"); var combo = grid.get_masterTableView().get_dataItems()[g_lastRowIndex].findControl("RadCmbAddressType"); combo.clearItems(); $.each(g_addrType, function(i) { var comboItem = new Telerik.Web.UI.RadComboBoxItem(); var text = g_addrType[i].substring(0, g_addrType[i].indexOf("=")); var value = g_addrType[i].substring(g_addrType[i].indexOf("=")); comboItem.set_text(text); comboItem.set_value(value); combo.get_items().add(comboItem); }); } <telerik:GridTemplateColumn UniqueName="AddressType" HeaderText="Address Type"> <ItemTemplate></ItemTemplate> <EditItemTemplate> <telerik:RadComboBox runat="server" ID="RadCmbAddressType" width="99%" MaxDropDownItems="25" DataSource='<%# (new string[] {Eval("Address.Type").ToString()}) %>' CollapseAnimation-Type="None" ExpandAnimation-Type="None" Skin="WebBlue" OnClientBlur="OnAddressTypeClientBlur" OnClientFocus="OnAddressTypeFocus" OnClientDropDownOpened="OnAddressTypeOpened" > </telerik:RadComboBox> </EditItemTemplate> </telerik:GridTemplateColumn>The dropdown is filled, but the height is not dynamically sized.