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

Problem with persistent configuration, LoadLayout and SaveLayout

4 Answers 82 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jill-Connie Lorentsen
Top achievements
Rank 1
Jill-Connie Lorentsen asked on 11 Sep 2009, 11:13 AM

I have a problem with persistent configuration in my RadGridView

When my application starts I create a default setup in my code.

After that I check weather a saved grid configuration exists, and if so it is set by using RadGridView.LoadLayout(conf)

The problem is that if a column by default has IsVisible=false it stays false even though the saved grid configuration sets it to true. This does not apply the other way around, - if the default is true and the configuration says false it is false.

The column order has the same problem. There is a default order, which overrides the configured order.

I have checked the string that is written and read by the SaveLayout and LoadLayout, and it is correct.

Is this a known error, or am I doing something wrong?

Regards, Jill-Connie Lorentsen

4 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 15 Sep 2009, 08:31 AM
Hi Jill-Connie Lorentsen,

This is not a known bug. Actually I cannot reproduce that in our Demo Application -  I am using Q2 2009 SP1. What version do you use? Can you send us your application so that we can check what is wrong? Thank you for your time.

All the best,
Nick
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Jill-Connie Lorentsen
Top achievements
Rank 1
answered on 15 Sep 2009, 08:44 AM

I will download the newest version and see if that helps first.

Thank you!

Regards, Jill-Connie Lorentsen

0
Jill-Connie Lorentsen
Top achievements
Rank 1
answered on 16 Sep 2009, 11:33 AM

It seems to have done the trick, but it has given me problems with my drop down menu in a tree view...

I'll address that issue in the TreeView part of this forum

Regards, Jill-Connie Lorentsen

0
Nick
Telerik team
answered on 16 Sep 2009, 11:43 AM
Hi Jill-Connie Lorentsen,

Thank you for contacting us. I am glad that save/load layout work ok in Q2 2009 SP1.

Sincerely yours,
Nick
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Jill-Connie Lorentsen
Top achievements
Rank 1
Answers by
Nick
Telerik team
Jill-Connie Lorentsen
Top achievements
Rank 1
Share this question
or