Custom control SelectedIndexChanged not fired

时间:2017-12-18 07:04:51

标签: vb.net telerik

My custom control based on Telerik control

Public Class ComboBoxСountries
    Inherits RadComboBox
End Class

Usage control

<mc:ComboBoxСountries ID="ComboCountry" runat="server" Width="100%" AutoPostBack="true"></mc:ComboBoxСountries>

Event

Protected Sub ComboCountry_SelectedIndexChanged(sender As Object, e As RadComboBoxSelectedIndexChangedEventArgs) Handles ComboCountry.SelectedIndexChanged
    ' not fired
End Sub

ComboCountry_SelectedIndexChanged not fired, but if use <telerik:RadComboBox /> all is ok. How to solve this problem?

1 个答案:

答案 0 :(得分:0)

添加OnSelectedIndexChanged =&#34; ComboCountry_SelectedIndexChanged&#34;帮助

r=|p1-c|