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

RadAjaxPanel not showing refreshed data on intitial load

1 Answer 56 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
mc2000
Top achievements
Rank 1
mc2000 asked on 17 Nov 2010, 06:03 PM
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.

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 19 Nov 2010, 03:57 PM
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.

Greetings,
Iana
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.
Tags
Ajax
Asked by
mc2000
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or