Zooming without viewstate?

Thread is closed for posting
6 posts, 0 answers
  1. Chris
    Chris avatar
    16 posts
    Member since:
    Apr 2008

    Posted 04 Jun 2008 Link to this post

    Hello,

    I have 3 databound charts loaded on a page that load relatively fast as I have viewstate disabled for them.  I really love the new zooming feature and would like to turn it on for the charts, however I can't seem to get the plot area to render my data with zooming enabled unless viewstate is also enabled. 

    For some reason the viewstate for these charts is massive (several hundred KBytes per chart), so I take a massive perf hit on the download and CPU processing on the web server with VS turned on.

    Is ViewState absolutely needed for the Zooming/Scrolling functionality? (or is there anything clever I could implement to workaround?)  If it is needed, are there any pointers on how I can shrink the size of my viewstate blobs for the charts?

    Thanks!

    Chris
  2. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 05 Jun 2008 Link to this post

    Hi Chris,

    The zooming and scrolling feature of RadChart cannot operate with ViewState disabled at this point. As for the optimization of the latter -- unfortunately we cannot suggest you a clever way to reduce the ViewState as its size is basically related to the serialized settings you have applied to your chart object.


    Sincerely yours,
    Manuel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Chris
    Chris avatar
    16 posts
    Member since:
    Apr 2008

    Posted 05 Jun 2008 Link to this post

    Thanks Manuel-

    It sounds like it might be on the roadmap for a future release to not have this dependency?  I'm wondering if I have a ton of serialized settings configured that I don't need since the charts work completely as I would expect with viewstate disabled.  I'm not really sure where to look though (do you have a few examples of "serialized settings"?). 

    Also, does the amount of data I'm pushing into the charts affect the size of the viewstate in any way?  That might explain it as I'm pushing thousands of data points into the charts.

    Thanks for the prompt response!

    Chris

  4. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 09 Jun 2008 Link to this post

    Hi Chris,

    We will research the option to enable the zooming / scrolling feature with disabled ViewState and we will probably add it for one of the next versions of the control.

    As for the ViewState -- when it is enabled, the amount of data affects its size as the data points are serialized into it as well.


    Regards,
    Manuel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Matthew
    Matthew avatar
    18 posts
    Member since:
    Mar 2009

    Posted 19 May 2009 Link to this post

    Can zoom now work without viewstate?
  6. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 21 May 2009 Link to this post

    Hi Matthew,

    Unfortunately the chart control still does not support zooming / scrolling with disabled viewstate.

    Sorry for the inconvenience.


    All the best,
    Manuel
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top