This is my codebehind file for my OnDemand loaded TabStrip. It's working fine.
Inside the first tabbed PageView I also have several RadComboBoxes wich also have an OnDemand loading feature
(let's assume a Country--> City --> Region loader) like that one in your examples.
When I load the page the first tab is shown and inside it the ComboBox bind to country data waits for me to select a Country.
I select a country and the City Combobox is successfully ondemand bind to cities data and waits for me to select a city.
I select the city and now the last Combobox is ondemand bind to Region data wich I can select finally. No problems here.
Then, when I go to the second tab the loading panel is shown for a couple of seconds and the 2nd tab is shown. Still no problem.
But when I go back to the first tab all my selections inside the ComboBoxes disappear. Even the loaded items inside are lost except the Country combo which was filled on PageLoad. Also the country is still selected inside this ComboBox.
So I think when the
RadMultiPage1_PageViewCreated event is fired the viewstate of my Comboboxes gets lost. You can see that my code is a little bit different than your example. The difference is that I set my ASCX page names from an array, but I keep in mind that giving unique ID's to PageView.Controls is important and I think my code does this exactly.
So why I am still losing the viewstate of my ondemand loaded ComboBoxes? Can anyone help me out of this please?
Many Thanks..