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
755
Loading and saving Docklayouts dynamicly
posted

Hello,

I found a knowledgebase article about loading and saving a docklayout, but there it seems that the only way to load or save an layout is by an xml or binary file. Is there a way to do it using a memorystream or anything else so i can read and write it to a user layout table in the database.

So that the user will always have his working layout no matter on which computer he is logging in.

The article: http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=9844

Greetings

Parents
  • 44743
    Verified Answer
    posted

    The UltraDockManager defines two overloads of SaveAsBinary and SaveAsXml. One takes a file path and the other takes a stream. You can pass in a memory stream to the second overload of either method and have it save to the stream instead of a file. The same is true for LoadFromBinary and LoadFromXml.

Reply Children
No Data