If save a ToolbarsManager as Binary to a MemoryStream.
After this save, I add some extra Tabs and Buttons to the ToolbarsManager.
Apparently, the MemoryStream is updated when adding controls.
Is there way to avoid this? I need to take a snapshot at specific moment.
ribbonStream = new System.IO.MemoryStream();
toolbarsManager.SaveAsBinary(ribbonStream, true);
Hello,
So we are finished with this thread, or are we? I have addressed that other issue. Please take a look at: http://community.infragistics.com/forums/p/70623/357824.aspx#357824 and let me know if this is a good explanation for you.
Hi Boris, first of all, could you look at the other issue (moving a RibbonTab).
Concerning this question, apparently things do work as expected, It's just me that did something wrong in my code. I had added RibbonTabs before saving it as binary (so obviously it was in the stream).
I haven't tried though to add things after saving it as a binary stream...
I was writing this post when I saw your last one. I want to use the thread to ask you to share how you were able to resolve your issue and in the same time to attach my sample of how to save and load as and from binary.
Thank you in advance, I believe that the other community members could benefit from this thread as well.
Never mind. Please close.