Divelements Community
Customer discussion of all Divelements products

Layout serialization request

Latest post 09-15-2008 9:09 by Tim Dawson. 1 replies.
  • 09-05-2008 1:09

    Layout serialization request

    Hey,

    Would it be possible to record the active tabbed document in GetLayout() and make that document active again in SetLayout()?

    I have SandRibbon editing contexts matching the currently active tabbed document (it's NOT a single type of document app like an Office app) and I need the active document somehow (i.e. selected isn't quite enough... there could be multiple of those in complex layouts).

    Thanks

    Yves

  • 09-15-2008 9:09 In reply to

    Re: Layout serialization request

    That's a good idea, but I think you're best off implementing this yourself for the moment. We can't change the behaviour of SandDock at this stage and it would be overkill to add a new parameter for this functionality. You can get the guid of the last active window at the same time as you call GetLayout, and you could even add it to the XML produced (or store it somewhere else). After restoring layout, get a handle to that window using the FindControl method and call Activate on the window.

Page 1 of 1 (2 items) | RSS
Copyright © 2008 Divelements Limited
Powered by Community Server (Commercial Edition), by Telligent Systems