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

Multiple Charts with drill down option in a single page

1 Answer 70 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Muthiah
Top achievements
Rank 1
Muthiah asked on 13 Jan 2014, 10:02 AM
Hi,

I'm having four chart controls (RadHtmlChart) in a page with drill down option for each of it. I'm using onClientSeriesClicked event and thereby using the AjaxRequest event of the Ajax Manager. As I can have only one Ajax Manager in a page, all my chart controls are pointed to the same AjaxRequest event of the Ajax Manager.

Hence when I drill down on one of the charts, all the other charts are also getting refreshed and shows up empty charts. I do not want to load all the charts everytime I drill down. How can I refresh only one chart where I have drilled down and leave all others as is? Please suggest.

Regards,
Muthiah

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 13 Jan 2014, 03:13 PM
Hi Muthiah,

Based ont he provided description I supposed that you are performing manual ajaxRequest in the onClientSeriesClicked event. If this is your scenarios you could simply check for the ajax eventTarget (request initiator) and make ajaxRequest with some specific arguments. Then on the server AjaxRequest event you could check for a specific argument and perform only the needed logic for one chart. See the help topics below which elaborates on this case:
http://www.telerik.com/help/aspnet-ajax/ajax-onrequeststart.html
http://www.telerik.com/help/aspnet-ajax/ajax-client-side-api.html

I hope this helps.

Regards,
Maria Ilieva
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Ajax
Asked by
Muthiah
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or