Hello Telerik support team,
I have a RadHTMLChart that will eventually need to perform a drill-down. Following the documentation examples I created a sample application to try and sent a request to the server for the next set of line series to be drawn on the chart.
The server receives the request and goes through all the appropriate code-behind without errors, however the browser closes the connection between it and the server before it receives the response from the server. The result from the user's perspective is that the graph does not change.
This was tested on the latest versions of FF, IE, GC
I have a RadHTMLChart that will eventually need to perform a drill-down. Following the documentation examples I created a sample application to try and sent a request to the server for the next set of line series to be drawn on the chart.
The server receives the request and goes through all the appropriate code-behind without errors, however the browser closes the connection between it and the server before it receives the response from the server. The result from the user's perspective is that the graph does not change.
This was tested on the latest versions of FF, IE, GC
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SeriesClickedIndependant.aspx.cs" Inherits="SeriesClicked.SeriesClickedIndependant" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <div> <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> </telerik:RadScriptManager> <telerik:RadAjaxManager ID="RadAjaxManager1" OnAjaxRequest="RadAjaxManager1_AjaxRequest" runat="server"> </telerik:RadAjaxManager> <telerik:RadHtmlChart ID="RadHtmlChart1" OnClientSeriesClicked="OnClientSeriesClicked" runat="server"> </telerik:RadHtmlChart> <script type="text/javascript"> function OnClientSeriesClicked(sender, eventArgs) { //alert("You clicked on a series item with value '" + eventArgs.get_value() + "' from category '" + eventArgs.get_category() + " and Series:" + eventArgs.get_seriesName() + '.'); $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest(eventArgs.get_seriesName()); } </script> </div> </form></body></html>using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using Reports.ReportPresenter;using Telerik.Web.UI;namespace SeriesClicked{ public partial class SeriesClickedIndependant : System.Web.UI.Page { private ReportsDataSource _radDataSource; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { PreFetch(); FetchData(ReportsStoredProcedures.StoredProcedures.Company, new ReportsParameters(1356, "01/01/2011", "05/30/2011")); PostFetch(); } } public void FetchData(ReportsStoredProcedures.StoredProcedures storedProcedure, ReportsParameters parameters) { //Populates the DataSource that will be used by the RADHTMLChart _radDataSource = new ReportsPresenter().GetReportsDataSource(storedProcedure, parameters); } public void PostFetch() { foreach (LineSeries lS in _radDataSource.ReportsRadHtmlSource.SeriesCollection) { RadHtmlChart1.PlotArea.Series.Add(lS); } foreach (string s in _radDataSource.ReportsRadHtmlSource.LabelsArray) { RadHtmlChart1.PlotArea.XAxis.Items.Add(s); } } public void PreFetch() { RadHtmlChart1.PlotArea.Series.Clear(); } protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e) { PreFetch(); FetchData(ReportsStoredProcedures.StoredProcedures.Region, new ReportsParameters(1356, 1356, 0, Reports.DataAccess.Facility.FacilityType.Regional, "01/01/2011", "05/30/2011")); PostFetch(); } public void FetchData() { } }}