Posted 21 Apr 2009
Link to this post
Hi guys. I'm here to ask for help. I would appreciate any tip or comment.
I got a PanelBar which its content is created dynamically given a RadMenuItem that the user clicks.
I got this code:
myRadPanelBar.Datasource = mycode.GetDatasource(string menuItemClicked);
everything here is working I load the page and the first load works good.
But then i go to click another RadMenuItem that will cause the radpanelbar to be updated but it displays the first content that mypanelbar had and no matter what menu items i click the radpanelbar is not updated.
I had debugged mycode.GetDatasource(string menuItemClicked); to verify that the content is created correctly, and indeed it is correct.
I have deleted the cache, temp files, cookies, close the browser, use IE and Firefox and the radpanelbar is not updated it always shows me the first content that was loaded in.
I also tryed to use RadAjaxManager to say that the RadMenu is going to update the RadPanel.
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" >
<telerik:AjaxUpdatedControl ControlID="RadPanelBar" />
The only thing that make the panelbar to be updated is if i do an IISRESET
What could be wrong?