How do I use RadarCube ASP.NET along with Telerik chart using AJAX?
Posted by Vladimir Lyutetsky on 18 June 2007 03:11 PM

This article applies to:

  • RadarCube ASP.NET Direct
  • RadarCube ASP.NET for MS Analysis

 


 

a) Place a RadAjaxPanel control to the web page and insert a Telerik RadChart control into it.
b) Handle the RadChart.PreRender event with a code like this:

{
DataTable dt = new DataTable("qqq");
TOLAPGrid1.GetOLAPData(dt, System.Drawing.Rectangle.Empty, TCellsetTableMode.ctmWholeCellsetExceptTotals);

RadChart1.Series.Clear();
RadChart1.DataSource = dt;
RadChart1.DataBind();
}
c) Place the following line into the Page_Load handler:
TOLAPGrid1.ClientCallbackFunction = RadAjaxPanel1.ClientID + ".AjaxRequest()";
(444 vote(s))
This article was helpful
This article was not helpful

Help Desk Software by Kayako Resolve