I need a little help here. I created a set of cascading RadComboBoxes that worked great.
Then I decided to change the way my page worked and wrapped everything in a asp:FormView control so I could easily bind the entire form.
The problem is that now the cascading RadComboBoxes don't work using the example in the demo. Originally, there was a call to a function that loaded the first dropdown in the Page_Load event. I can't do this anymore though because the FormView hasn't been created yet and the control to load doesn't exist.
I've tried moving the call to the function that loads the first drop-down to the FormView1_ItemCreated event which loads the first dropdown, but only after the RadComboBox is created and therefore it throws an error with the SelectedValue='<%# Bind("councils") %>' property since the datasource hasn't been created yet.
I can't seem to figure out the proper sequence of events to get this working. Do you guys have an example of cascading RadComboBoxes in a FormView or can you suggest a way to do it? Thanks!
Then I decided to change the way my page worked and wrapped everything in a asp:FormView control so I could easily bind the entire form.
The problem is that now the cascading RadComboBoxes don't work using the example in the demo. Originally, there was a call to a function that loaded the first dropdown in the Page_Load event. I can't do this anymore though because the FormView hasn't been created yet and the control to load doesn't exist.
I've tried moving the call to the function that loads the first drop-down to the FormView1_ItemCreated event which loads the first dropdown, but only after the RadComboBox is created and therefore it throws an error with the SelectedValue='<%# Bind("councils") %>' property since the datasource hasn't been created yet.
I can't seem to figure out the proper sequence of events to get this working. Do you guys have an example of cascading RadComboBoxes in a FormView or can you suggest a way to do it? Thanks!