Multiple Charts with drill down option in a single page

2 posts, 0 answers
  1. Muthiah
    Muthiah avatar
    1 posts
    Member since:
    Jan 2014

    Posted 13 Jan 2014 Link to this post

    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
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 13 Jan 2014 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top