Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Chart > RadChart Series.Clear() Problem

Not answered RadChart Series.Clear() Problem

Feed from this thread
  • Anna avatar

    Posted on Dec 19, 2011 (permalink)

    I am currently setting up a RadChart with custom filters and can not seem to get the chart to clear if there is no data when ViewState is enabled. When I set ViewState to false it works great, the only problem is the chart OnClick event does not fire if ViewState is set to false, and the click event is something this chart has to have.

    For example, this should clear the chart so it shows the error message if there is no data returned:

    dataPoints= bll.GetAllCustomerDataPoints(param1, param2);
     
    if (dataPoints.Count > 0)
    {
         UpdateCustomerChart(dataPoints);
    }
    else
    {
         RadChart1.Clear();
    }

    Reply

  • Giuseppe Giuseppe admin's avatar

    Posted on Dec 22, 2011 (permalink)

    Hello,

    We were unable to reproduce the problems you are experiencing in our local tests -- please review the attached sample applications that demonstrate our observations (clearing chart with Viewstate, click event with disabled viewstate) and let us know if we are missing something out.


    Kind regards,
    Giuseppe
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

    Reply

  • Say Hello to Telerik's PivotGrid for ASP.NET AJAX, Silverlight, WPF and WinForms. Now packed with OLAP support.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Chart > RadChart Series.Clear() Problem
Related resources for "RadChart Series.Clear() Problem"

ASP.NET Chart Features  |  Documentation  |  DemosStep-by-step Tutorial  ]