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

[Solved] Causing an AJAX update from code-behind?

1 Answer 182 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Svilen
Top achievements
Rank 1
Svilen asked on 22 Feb 2008, 12:09 PM
I am porting some amount of code from regular ASP AJAX UpdatePanels to the RadAjaxManager in Prometheus Q3 2007. However, the code extensively uses UpdatePanel.Update() to update the contents of a simple update panel from code-behind. I brwosed through the documentation, but didn't manage to find such a feature in Prometheus. So, my question is: Am I missing something obvious, or there just isn't such functionality for updating from server-side?
Thank you in advance.

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 22 Feb 2008, 12:34 PM
Hello Svilen,

Generally there are two approaches to achieve conditional updates with ASP.NET AJAX. One of them is using Update() method of UpdatePanel control and the other is using triggers. Our RadAjaxManager is based on second approach - you can select which control will initiate the ajax call and which control(s) will be updated on this particular call. When using RadAjaxManager you do not need to declare any UpadatePanels - these will be created dynamically by the manager along with necessary triggers. Still you have access to these panels via AjaxSettingCreating/Created event (e.UpdatePanel).

Let me know if you need any more info on all these.

Sincerely yours,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
Svilen
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or