How do I get the interactive google charts to work inside a rad ajax panel? I want to be able to post back the panel and update the data for the charts and have them redraw.
Thanks in advance.
Chris
1 Answer, 1 is accepted
0
Marin Bratanov
Telerik team
answered on 09 May 2014, 10:11 AM
Hello Chris,
I am not sure which control you are referring to, yet here are some guidelines:
if this is a server control (e.g., RadChart or RadHtmlChart, or another third-party ASP control), you can initiate a postback and set its server data source. This will dispose and redraw the control like any other ASP control. There are various ways to initiate a postback, for example:
a click on a button inside the RadAjaxPanel
the __doPostBack() function from MS AJAX that can simulate the click on the button
if this is a client-side widget - you do not need postbacks, but rather to explore its client-side API and provide its new datasource according to its requirements.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.