This is a migrated thread and some comments may be shown as answers.

Chart's Series are lost on Postback

2 Answers 147 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 01 Aug 2013, 07:38 PM
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 Answers, 1 is accepted

Sort by
0
Stamo Gochev
Telerik team
answered on 06 Aug 2013, 10:02 AM
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.
0
Michael
Top achievements
Rank 1
answered on 12 Aug 2013, 02:24 PM
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.
Tags
Chart (HTML5)
Asked by
Michael
Top achievements
Rank 1
Answers by
Stamo Gochev
Telerik team
Michael
Top achievements
Rank 1
Share this question
or