Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Refresh RadHtmlChart with Javascript and show loading spinner

$
0
0

In case of RadGrid I can do this:

var RadGrid = $find('<%=RadGrid.ClientID %>').get_masterTableView();
RadGrid.fireCommand("Update", 0);

This refreshs my RadGrid and is showing the ajaxLoadingPanel with the spinner.

I try to do the same for RadHtmlChart like this:

var radHtmlChartObject = $find("<%=VersionsChart.ClientID %>");
radHtmlChartObject.repaint();
//or
radHtmlChartObject.loadData();

It refreshes/repaints the chart but I cannot see the loading animation. The RadAjaxManager is configured the same way for both controls, here for the RadHtmlChart:

<telerik:AjaxSettingAjaxControlID="VersionsChart">
    <UpdatedControls>
        <telerik:AjaxUpdatedControlControlID="VersionsChart"LoadingPanelID="RadAjaxLoadingPanel1"/>
    </UpdatedControls>
</telerik:AjaxSetting>

How can I make the spinner appear also in case of the RadHtmlChart?

 

 


Viewing all articles
Browse latest Browse all 84751

Trending Articles