RadChart Series.Clear() Problem

Thread is closed for posting
2 posts, 0 answers
  1. Anna
    Anna avatar
    2 posts
    Member since:
    Dec 2011

    Posted 19 Dec 2011 Link to this post

    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)
  2. Giuseppe
    Giuseppe avatar
    2363 posts

    Posted 22 Dec 2011 Link to this post


    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,
    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
Back to Top