![Avatar](https://secure.gravatar.com/avatar/83ee1001bcd0b2440ffd2486f46331cb.jpg?s=64&d=identicon&r=g)
I have this :
When I add a document window, it works, but when i close all open document windows and re-add another, Activate() throws "This operation is invalid since the DockingWindow has not yet been registered with a DockSite."
I've checked some solutions in other similar threads but none worked.
What would be the issue ?
Thank you
<docking:DockSite Name="dockSite">
<docking:TabbedMdiHost>
<docking:TabbedMdiContainer Name="TabbedMDIC" >
</docking:TabbedMdiContainer>
</docking:TabbedMdiHost>
</docking:DockSite>
//Adding a new document window
DocumentWindow docuWindow = new DocumentWindow(dockSite1);
TabbedMDIC.Items.Add(docuWindow);
docuWindow.Activate();
I've checked some solutions in other similar threads but none worked.
What would be the issue ?
Thank you