Hi,
I have a radhtml column chart that i want to change the datasource of based on the selected values of 2 dropdown lists. i am using a radscriptmanager and have the dropdown lists listed as update controls (see code below), however when the page posts back, it loads nothing in the chart area...no x or y axis or anything.
is it possible to update the data source of a radHTML chart dynamically?
HTML:
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnablePartialRendering="true" ScriptMode="Release">
and this is what i am calling on the backend:
any help would be greatly appreciated!
Thanks,
Ryan
I have a radhtml column chart that i want to change the datasource of based on the selected values of 2 dropdown lists. i am using a radscriptmanager and have the dropdown lists listed as update controls (see code below), however when the page posts back, it loads nothing in the chart area...no x or y axis or anything.
is it possible to update the data source of a radHTML chart dynamically?
HTML:
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnablePartialRendering="true" ScriptMode="Release">
</telerik:RadScriptManager>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="ddlAssetType" EventName="SelectedIndexChanged" >
<telerik:AjaxSetting AjaxControlID="ddlChart" >
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="rcStats" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="ddlRange" >
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="rcStats" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
and this is what i am calling on the backend:
rcStats.DataSource = list
rcStats.DataBind()
any help would be greatly appreciated!
Thanks,
Ryan