I have the LoadFromXML and SaveFromXML features working correctly.
However I have now added some more tools to a toolbar in design time but when the program runs and loads the saved toolbar layout it doesnt show the newly added tools.
Is there a way to force newly added tools to appear when loading from a saved xml toolbar layout? The user will then see the new tools and then they can customize their toolbar to include these new tools?
Thanks
Hi,
When you load a layout file saved with old settings, it will remove any new tools/toolbars which were added in your new version. You can check which tools/toolbars are gone and re-add them. You can submit a feature request for layout file merging, which will allow you to load in a layout file such that it doesn't affect any new tools or toolbars added after the layout file was saved: http://devcenter.infragistics.com/Protected/RequestFeature.aspx.
Regards,
Stefaniya
So if I have 5 versions I have a block of code checking for each difference in each version. This is not acceptable. Surely this feature should be by default.
If this is the only option I cannot therefore provide the ability to load and save toolbar layouts.
I understand what you mean. I found this similar discussion about loading layouts in this forum that you can look at for helpful information. Please check if these posts are helpful for you:
http://forums.infragistics.com/forums/p/16690/61106.aspx#61106
Let me know if I can help you with something.
Let me know if I can help you more.