Load / Save state needs UpdateLayout?

2 posts, 0 answers
  1. Rob Peters
    Rob Peters avatar
    16 posts
    Member since:
    Feb 2010

    Posted 07 Apr 2010 Link to this post

    Hi Telerik,

    I was implementing the demonstration of loading/saving the GridView state from the demo application.
    All worked well, the state was saved/loaded, except the GroupBy toolbar was not filled from the last state.

    By implementing this.grid.UpdateLayout(); inside the Loadstate function solved my problem.

    Is this the correct way?, Or should the example have worked 'out of the box'?

    With kind regards,
    Rob
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 12 Apr 2010 Link to this post

    Hi Rob,

    Indeed the example should work out of the box. Generally UpdateLayout() will not cause any problems.

    Sincerely yours,
    Vlad
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top