Hi there,
In the FormCreated event of RadScheduler I added a event handler for ResourceType combo box. Here is the code.
What I am trying to achieve is that when I select an item in the combo box it will automatically populate other textbox on the Advanced form.
This issue is that when I use SelectedValue to retrieve the value in SelectedIndexChange event it returned something like /wECAQ==
I am not sure where this value from. There is nothing wrong with the data binding. The expected value should be integer.
I also tried to use client API to retrieve the value. I got same result.
How could I retrieve the value from the combo box?
Thanks
In the FormCreated event of RadScheduler I added a event handler for ResourceType combo box. Here is the code.
What I am trying to achieve is that when I select an item in the combo box it will automatically populate other textbox on the Advanced form.
protected void rsSchedules_FormCreated(object sender, SchedulerFormCreatedEventArgs e)
{
if ((e.Container.Mode == SchedulerFormMode.AdvancedEdit) || (e.Container.Mode == SchedulerFormMode.AdvancedInsert))
{
RadComboBox cboItinerary = (RadComboBox)e.Container.FindControl("ResItinerary");
cboItinerary.SelectedIndexChanged += new RadComboBoxSelectedIndexChangedEventHandler(cboItinerary_SelectedIndexChanged);
cboItinerary.AutoPostBack = true;
}
}
This issue is that when I use SelectedValue to retrieve the value in SelectedIndexChange event it returned something like /wECAQ==
I am not sure where this value from. There is nothing wrong with the data binding. The expected value should be integer.
I also tried to use client API to retrieve the value. I got same result.
How could I retrieve the value from the combo box?
Thanks