My first crack at using the RadCombo box and I have a snag.
I can't get the SelectedIndexChanged event to fire.
Here is some code. My RadComboBox looks like this
<telerik:RadComboBox ID="radCustomSearchDropdown" runat="server" Height="200px" Width="200px" DropDownWidth="298px" EmptyMessage="Custom Search" HighlightTemplatedItems="true" EnableLoadOnDemand="true" Filter="StartsWith" OnSelectedIndexChanged="radCustomSearchDropdown_SelectedIndexChanged" AutoPostBack="true"> <ItemTemplate> <table style="width: 275px" cellspacing="0" cellpadding="0"> <tr> <td style="width: 260px;"> <strong><%# DataBinder.Eval(Container, "Attributes['Title']")%></strong> </td> </tr> <tr> <td style="width: 260px;"> <i><%# DataBinder.Eval(Container, "Attributes['Description']")%></i> </td> </tr> </table> </ItemTemplate></telerik:RadComboBox>And in the code behind the SelectedIndexChanged code looks like this.
protected void radCustomSearchDropdown_SelectedIndexChanged(object o, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e){ int CustomSearchID = Convert.ToInt32(e.Value); SetLocationSearchByCustomSearchID(CustomSearchID);}This code never gets called.
Autopostback is true, the event is defined, what more is there?