Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1075
How to save to XML without ValueLists?
posted

Hi!

I need to store some view info for my grid. So I use

grid1.DisplayLayout.SaveAsXml(stream, PropertyCategories.All);

 

But I realized that my ValueLists can be changed between store and load. Can I save my grid without ValueLists so they got refreshed automatically during Loading?

 

Mila.

Parents
  • 469350
    Suggested Answer
    Offline posted

    Hi Mila,

    I'm pretty sure that one of the PropertyCategories is ValueLists. So you can exclude these from the saving and loading easily enough by just removing the flag.

    Another option is to simply load the layout before you assign your ValueLists to the grid.

Reply Children