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

Data post back

2 Answers 46 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Billy8988
Top achievements
Rank 1
Billy8988 asked on 27 Jul 2008, 03:04 PM
I have a form with bunch of controls and a RadChart. Based on user's input I create the serieses (point chart) on the server side. Everything works fine except when the user chooses different parameter(s), the form seems to be posting the ploted data back to the server which is a problem for us. For one, it takes too long and second we get max data length error as the plotted data might exceed 4 meg.

The question is, is there any way to tell the Radchart not to post back data?
Thanks for the help.

-MK

2 Answers, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 28 Jul 2008, 08:36 AM
Hi Murugan Kannan,

We would suggest you to try disabling the ViewState for the control by setting EnableViewState="false" -- this should decrease the amount of data posted to the server but you will also need to recreate the chart manually on every page load on the server-side.

Hope this helps.


Kind regards,
Manuel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Billy8988
Top achievements
Rank 1
answered on 28 Jul 2008, 12:41 PM
>We would suggest you to try disabling the ViewState for the
>control by setting EnableViewState="false" -- this
>should decrease the amount of data posted to the server

Okay will try this. I also moved the chart out of the form which seems to have solved the issue but not sure what other stuff it intorduced.

>but you will also need to recreate the chart manually on
>every page load on the server-side.

Of course, I am already doing that.

Thanks.
Tags
Chart (Obsolete)
Asked by
Billy8988
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Billy8988
Top achievements
Rank 1
Share this question
or