<telerik:RadComboBox ID="rcbEditProject" runat="server" SkinID="ddRegular" Width="375px" AutoPostBack="True" OnSelectedIndexChanged="rcbEditProject_SelectedIndexChanged">
</telerik:RadComboBox>
And I have this code in code behind:
Protected Sub rcbEditProject_SelectedIndexChanged(ByVal o As Object, ByVal e As Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs)
Dim editedItem As GridEditableItem = CType(CType(o, RadComboBox).NamingContainer, GridEditableItem)
Dim rcbEditObstacle As RadComboBox = CType(editedItem.FindControl("rcbEditObstacle"), RadComboBox)
Dim rcbEditProject As RadComboBox = CType(editedItem.FindControl("rcbEditProject"), RadComboBox) rcbEditObstacle.Items.Clear()
Dim dtEditObstacle As Data.DataTable = Nothing
If rcbEditProject.SelectedValue = "" Then
Else
' I have the code to populate the child radcombo box .....
End Sub
Problem:
My RadGrid is in RadAjax panel. In the Item data bound for Grid I am able to populate the values fine.
My problem is when I change the value in the Parent 'rcbEditProject' combo box the selected index changed EVENT IS NOT FIRED.
If I have a break in the grid item data bound procedure it DOES trigger the Break point!
The other strange thing is that when I click the 'Cancel' button (see code below) the selected index changed event is FIRED?
<asp:LinkButton runat="server" ID="lnkCancel" Text="Cancel" SkinID="lnkGvEditText" Font-Bold="true" CommandName="Cancel" CausesValidation="False" />
Please help?
Thanks Sanjay