Hi,
I have a page where I use RadComboBox.
I tried to set an event for SelectedIndexChanged, but ASP show me that error message.
Here my ASPX part:
Here my C# code:
And the error message is:
TIA
I have a page where I use RadComboBox.
I tried to set an event for SelectedIndexChanged, but ASP show me that error message.
Here my ASPX part:
<telerik:RadComboBox ID="ComboBox1" runat="server" Filter="StartsWith" Width="500" HighlightTemplatedItems="true" Height="300" ShowMoreResultsBox="True" SortCaseSensitive="False" ExpandAnimation-Type="OutQuart" AutoPostBack="true" onselectedindexchanged="ComboBox1_SelectedIndexChanged1"> <HeaderTemplate> <table style="width: 400px" cellspacing="0" cellpadding="0"> <tr> <td style="width: 300px;"> Name </td> <td style="width: 60px;"> Number </td> </tr> </table> </HeaderTemplate> <ItemTemplate> <table style="width: 400px" cellspacing="0" cellpadding="0"> <tr> <td style="width: 300px;"> <%# Eval("Name")%> </td> <td style="width: 60px;"> <%# Eval("Id")%> </td> </tr> </table> </ItemTemplate> </telerik:RadComboBox>Here my C# code:
protected void ComboBox1_SelectedIndexChanged1(object sender, RadComboBoxSelectedIndexChangedEventArgs e) { }And the error message is:
Compiler Error Message: CS1061: 'ASP.builderform_aspx' does not contain a definition for
'ComboBox1_SelectedIndexChanged1' and no extension method 'ComboBox1_SelectedIndexChanged1'
accepting a first argument of type
'ASP.builderform_aspx' could be found (are you missing a using directive or an assembly reference?)Source Error:Line 26: VerticalPadding="0px" />Line 27: </asp:TreeView>Line 28: <telerik:RadComboBox ID="ComboBox1" runat="server" Filter="StartsWith" Width="500"Line 29: HighlightTemplatedItems="true" Height="300" ShowMoreResultsBox="True" SortCaseSensitive="False"Line 30: ExpandAnimation-Type="OutQuart" AutoPostBack="true"TIA