Using the following code based on the examples for docking:
KryptonDockingWorkspace w = kryptonDockingManager1.ManageWorkspace(kryptonDockableWorkspace1);
kryptonDockingManager1.ManageControl(kryptonPanel1, w);
kryptonDockingManager1.ManageFloating(this);
// Add initial docking pages
kryptonDockingManager1.AddToWorkspace("Workspace", new KryptonPage[] { OrdersDocument(), VehiclesDocument(), MapDocument() });
I am able to start with three tabbed "documents". I then rearrange them as shown in the attachment:
Then, clicking a button on the form, I call this code:
kryptonDockingManager1.SaveConfigToFile("test.txt");
This creates a file as expected.
Clicking another button, I call this code:
kryptonDockingManager1.LoadConfigFromFile("test.txt");
No problems, the interface doesn't change as expected (I didn't rearrange anything).
Now, quit the program and re-run it. The the documents are there, tabbed in a single row.
Next click the button to load the config from file (which we want to reposition everything like we had in the attached image). Poof. All the "documents" are gone. I now have a blank workspace.
Thoughts?