Disappear rad html charts

3 posts, 0 answers
  1. waruni
    waruni avatar
    27 posts
    Member since:
    Jan 2008

    Posted 19 Dec 2012 Link to this post


    I have an issue on rad html chart; I have a page with rad html pie charts (more than one) inside the rad grid. In grid we have button to select the line and will click on that display the rad pop up window.
    My issue is when opening that rad window main page rad html pie charts are disappearing. After I close that rad window and refresh page, it will load correctly.
    need an answer as soon as possible


  2. Danail Vasilev
    Danail Vasilev avatar
    1476 posts

    Posted 20 Dec 2012 Link to this post


    Indeed RadHtmlChart does not load the DataSource from ViewState after postback which is a bug we have already detected and logged in PITS here. It seems that in your case when you click Grid's button a postback is performed and therefore the chart's datasource is lost.

    I would advise that you avoid this postback when opening the RadWindow, since it can be used entirely on the client. You can check the following resources on the matter:

    If this is not an option in your case you can use the workaround from PITS (manually save/read your data in the ViewState in order to avoid multiple database requests).

    All the best,
    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.
  3. DevCraft R3 2016 release webinar banner
  4. waruni
    waruni avatar
    27 posts
    Member since:
    Jan 2008

    Posted 01 Jan 2013 Link to this post


    Thank you for the reply and i was managed with the 3rd link - http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window

Back to Top