Hi,
Sorry I haven't find an option to add a zip file. I am adding it here. Please relate this post with
http://community.infragistics.com/forums/p/50529/266624.aspx#266624
Hi Mike,
I have created a test project, where I have created two UltraGridLayoutPanels which contains Ultragrids. When I save these settings only the first grid is saving and loading properly. My actual requirement is I should save and load both dock manager settings and all other panels settings as well. To check this I have commented the dockmanager saving and loading.
Could you please have look at this code, correct me If I am doing wrong.
Thanks,
Sanjeev.
Thanks Mike, this is working fine now..
Hi Sanjeev,
Sorry, I forgot, you cannot have more than one root element in an Xml file. So this won't work with saving and loading the layout to Xml. You can do it with binary, though.
Change your LoadFromXml call to just "Load" and your SaveToXml call to just "Save" and it works fine.
You will probably want to change the file extension on your filename from "xml" to "lyt" or something just for clarity, but the file extension doesn't actually matter to the grid.