Chart's Series are lost on Postback

3 posts, 0 answers
  1. Michael
    Michael avatar
    11 posts
    Member since:
    Oct 2012

    Posted 01 Aug 2013 Link to this post

    I have a RadHTML chart that has series added programmaticly in code-behind (C# ASP.NET)  to the chart when a user clicks button on the webpage. If the end-user initiates a postback event (by changing the selected-index on a drop-down list element for example), the series data is lost. The legend still appears with the correct series, as does the XAxis labels, but the actual series data disappears, no lines appear on the chart. I've already checked to see if I have a hanging Series.Clear() and ViewState is set to True.
  2. Stamo Gochev
    Admin
    Stamo Gochev avatar
    157 posts

    Posted 06 Aug 2013 Link to this post

    Hi Michael,

    Thank you for contacting the Telerik's support team.

    It would be very helpful if you could send me a sample page which reproduces the described issue as we have fixed a bug about persisting the DataSource after a postback in the Q2 2013 SP1 release (this seems to be the same version of your RadControls)..Your assistance is highly appreciated and it would allow me to investigate the case and give you further suggestions.

    Regards,
    Stamo Gochev
    Telerik
    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 the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Michael
    Michael avatar
    11 posts
    Member since:
    Oct 2012

    Posted 12 Aug 2013 Link to this post

    Sorry I haven't gotten back to this one. The way that the page is designed now new data is fetched on almost all postbacks so this bug is no longer in my way.
Back to Top