Hi, like said in a title, DockingManager.SaveDockState writes half empty file if one of the controls that were docked doesn't have name. Below is the code to reproduce the issue. Obviously it would be problematic to restore state for this control. But perhaps the situation could be handled better: either by throwing an exception or ignoring this particular control. BTW, some inner feeling tells me that such exception is thrown but then suppressed by empty try - catch block. Just to let you know, since it may cost time for other people.
var panel = new Panel();
// without this line it silently fails
//panel.Name = "panel1";
dockingManager1.SetEnableDocking(panel, true);
dockingManager1.DockControl(panel, this, Syncfusion.Windows.Forms.Tools.DockingStyle.Left, 200);
var sr = new AppStateSerializer(SerializeMode.XMLFile, @"d:\docklayout.xml");
dockingManager1.SaveDockState(sr);
sr.PersistNow();
Regards,
Sergei