SaveViewState for charts

Thread is closed for posting
2 posts, 0 answers
  1. Michal Ogluszka
    Michal Ogluszka avatar
    7 posts
    Member since:
    Jan 2009

    Posted 06 Mar 2009 Link to this post


     during my work on performance in our application I have noticed that a lot (2s ;-) ) is taken by SaveViewState method for charts. We have 3 charts, which are repainted very often and this could be a possibility to improve it.

    Can You explain me how is it working and what is saved in that view state method? Can it be disabled anyway?

    Great thanks
  2. Vladimir Milev
    Vladimir Milev avatar
    1061 posts

    Posted 09 Mar 2009 Link to this post

    Hi Michal Ogluszka,

    Generally speaking the ViewState saving is a costly operation. If performance is the focus of your application we recommend that you turn viewstate off for the control and manually persist custom settings.

    Sincerely yours,
    Vladimir Milev
Back to Top