Inside __XmlLayoutSerializer.LayoutSerializationCallback__, if we set __LayoutSerializationCallbackEventArgs.Cancel = true__, LayoutDocuments & LayoutAnchorables are still loaded into the view (with null Content properties).
Looking through the source code, it appears as though LayoutAnchorable.Close() & LayoutDocument.Close() are executed, but inside these functions, __this.Root.Manager is null__.
Am I missing an extra step somewhere?
Comments: ** Comment from web user: scottfmcleod **
Looking through the source code, it appears as though LayoutAnchorable.Close() & LayoutDocument.Close() are executed, but inside these functions, __this.Root.Manager is null__.
Am I missing an extra step somewhere?
Comments: ** Comment from web user: scottfmcleod **
Thanks for the fix!