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

Load / Save state needs UpdateLayout?

1 Answer 50 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rob Peters
Top achievements
Rank 1
Rob Peters asked on 07 Apr 2010, 11:51 AM
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

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 12 Apr 2010, 08:27 AM
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.
Tags
GridView
Asked by
Rob Peters
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or