Hello!
Wanting to use the example described here:
Combox / Server-side events
So I adapted the code of my control by adding the directive: OnTextChanged = "Group_List_TextChanged" side aspx
Then vb side. i added the event corresponding to it:
But the example does not work for me!? I get this error:
Compiler Error Message: BC30456: 'Group_List_TextChanged' is not a member of 'ASP.oeecalcul_ctrl_tselect_signal_ascx'.
If one of you has an idea why. I'm interested
Thank you all
G
Wanting to use the example described here:
Combox / Server-side events
So I adapted the code of my control by adding the directive: OnTextChanged = "Group_List_TextChanged" side aspx
<telerik:RadComboBox id="Group_List" runat="server" style="background-color:#fff;" AutoPostBack="true" OnTextChanged="Group_List_TextChanged" AllowCustomText="false" ExpandAnimation-Type="OutCubic" CollapseAnimation-Type="InOutQuart" HighlightTemplatedItems="True" Font-Italic="True" Width="270px"><ItemTemplate> <div onclick="StopPropagation(event)"> <telerik:RadTreeView ID="rtvInProdLineGroups" runat="server" DataFieldID="id_opc_item" OnClientNodeClicking="OnClientNodeClickedHandler" AutoPostBack="True" DataFieldParentID="IdParent" DataTextField="Name" DataValueField="id_opc_item" CheckBoxes="false" CheckChildNodes="false" MultipleSelect="false" style="background-color:#fff;" > </telerik:RadTreeView> </div></ItemTemplate><Items> <telerik:RadComboBoxItem Text="Sélection ..." /></Items></telerik:RadComboBox>
' Changement de signalPrivate Sub Group_List_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Group_List.TextChanged ' Recuperer id Moyen Dim IdSignal As String = Group_List.SelectedValue ' Affecter les nouvelles valeurs hfSignal.Value = IdSignal RaiseEvent SelectedSignalChanged(New Guid(IdSignal))End SubBut the example does not work for me!? I get this error:
Compiler Error Message: BC30456: 'Group_List_TextChanged' is not a member of 'ASP.oeecalcul_ctrl_tselect_signal_ascx'.
If one of you has an idea why. I'm interested
Thank you all
G