RadAjaxPanel not showing refreshed data on intitial load

2 posts, 0 answers
  1. mc2000
    mc2000 avatar
    48 posts
    Member since:
    Nov 2009

    Posted 17 Nov 2010 Link to this post

    Also sent in a support ticket but figured the answer could be valuable to others (in the event there is one :o))
    I have a RadWindow with a RadAjaxPanel inside. Inside the RadAjaxPanel I am loading a user control which does a database lookup and sets some field values. PREVIOUSLY, I also had an UpdatePanel in there and after the data was retreived from the DB it would update the update panel and refresh the screen.

    What I am noticing NOW is that I have to do a postback inside of the AJAXPanel in order for the data to appear on initial Window open. When the Window.Open() command is called from JavaScript the data loads correctly (according to the debugger) but the Window has nothing checked, filled in, etc. Once I do a postback inside of the window it works fine (change page number, for example). I need the window to pop up, data loaded, and panel refreshed. I am guessing I somehow have to explicitly update the RadAjaxPanel.

    Any help is appreciated.
  2. Iana Tsolova
    Iana Tsolova avatar
    3388 posts

    Posted 19 Nov 2010 Link to this post

    Hi mc2000,

    RadAjaxPanel does not provide a method for explicit update. Therefore to solve the problem we will need to find why the content in the window is not updated properly when the UpdateMode of an update panel is Conditional, which is the mode of the RadAjaxPanel update panel.
    If you send us a project in the support ticket you have open, we will try to resolve it.

    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top