Zdrasti at Telerik,
I am using the radpanelbar control q2 2008 (2008.2.723.35) of your controls.
I want to fill the RadPanelItems dynamically (from a DataSet). At the same time, I want to create the templates on these items dynamically as well.
The way i am doing this is:
I set the datasource for the radpanelbar control, which contains a DataTable, and deliveres the RadPanelItems.
To create the content on the templates, i am using a class, which is derived from the ITemplate interface and use it for the itemtemplate-property of the RadPanelItems.
I fill the itemtemplate of the clicked radpanelitem in the server side ItemClick-event.
Trying it out as I mentioned, I have a problem I cannot work around:
I start the page and the panel is not expanded. When I click on an PanelItem, the event ItemClick is fired, and I load the data and the ItemTemplate in the code-behind. The content, however, is not displayed. When I click the PanelItem a second time, the (right and well-formated) content is displayed for less than a second, and then the panel is collapsed.
Thank you very much for your help!
Bernd Degen