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

How to use given event to trigger ajax-updating

3 Answers 69 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Derek Tzeng
Top achievements
Rank 1
Derek Tzeng asked on 29 Aug 2009, 02:07 AM
Dear all,

In original asp.net ajax updatepnael, We can use a Trigger tag to determine which control and event name to fire ajax's update. It's really useful when using lots of use control in a page.

For example, I have 3 user control on a page:
Control_A has two events : event_1 and event_2
event_1 will trigger Control_B's ajax updating but not Control_C
event_2 will trigger Control_C's ajax updating but not Control_B

How can I do it when using RadAjaxManager?

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 31 Aug 2009, 08:30 AM
Hi Derek ,

For more information about how RadAjaxManager control should be used in page->user control scenario, please refer to the following help articles:
http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/usercontrol/defaultcs.aspx
http://www.telerik.com/help/aspnet-ajax/ajxusercontrols.html
http://www.telerik.com/help/aspnet-ajax/ajax-manager-proxy.html

Regards,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Derek Tzeng
Top achievements
Rank 1
answered on 31 Aug 2009, 11:04 AM
Thanks for your response. I have seen the articles you provide above.

However, it seems not answer my question ^^"

In these secnario, a user control marked as a AjaxControlID would fire AjaxUpdateControls' ajax-updating by any events.
What should I do if I want that AjaxUpdateControls fire ajax-updaing by a AjaxControlID's "given event"?

For example, ONLY a master grid's OnRowSelected event can trigger detail grid's ajax-updating.

Thank you
0
Pavlina
Telerik team
answered on 02 Sep 2009, 03:41 PM
Hello Derek,

Unfortunately the desired functionality is not possible. Please note that you can ajaxify only controls that normally work with postbacks.
For more information about how RadAjax works, please refer to the following help topics:
How RadAjax Works: Controls And Configuration
AJAX Manager

Kind regards,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Ajax
Asked by
Derek Tzeng
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Derek Tzeng
Top achievements
Rank 1
Share this question
or