Hello,
When I run the code below, postback, the data binds disappears completely, what is the solution to keep the data and just change the radcombobox?
When I run the code below, postback, the data binds disappears completely, what is the solution to keep the data and just change the radcombobox?
| Protected Sub RadScheduler1_FormCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.SchedulerFormCreatedEventArgs) Handles RadScheduler1.FormCreated |
| Dim CB_Groupe As RadComboBox = TryCast(e.Container.FindControl("CB_Groupe"), RadComboBox) |
| Dim CB_Forfait As RadComboBox = TryCast(e.Container.FindControl("CB_Forfait"), RadComboBox) |
| CB_Forfait.Items.Add(New Telerik.Web.UI.RadComboBoxItem(CB_Groupe.SelectedValue)) |
| CB_Groupe.AutoPostBack = True |
| AddHandler CB_Groupe.SelectedIndexChanged, AddressOf CB_Groupe_SelectedIndexChanged |
| End Sub |
| Protected Sub CB_Groupe_SelectedIndexChanged(ByVal o As Object, ByVal e As RadComboBoxSelectedIndexChangedEventArgs) |
| Lbl_titre.Text = "j'ai changé" |
| End Sub |