This is a migrated thread and some comments may be shown as answers.

RadPanelBar Dynamic Update Problem

0 Answers 79 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Sergio Cortez
Top achievements
Rank 2
Sergio Cortez asked on 21 Apr 2009, 09:21 PM
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);
myRadPanelBar.DataBind();

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"  >
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadMenu">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadPanelBar" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>



The only thing that make the panelbar to be updated is if i do an IISRESET

What could be wrong?


No answers yet. Maybe you can help?

Tags
PanelBar
Asked by
Sergio Cortez
Top achievements
Rank 2
Share this question
or