Hi
I wrote following code to dock controls:
private DockAreaPane m_dapTop = new DockAreaPane(DockedLocation.DockedTop);public ControlAtGlanceDockPane(){InitializeComponent();ultraDockManager.DockAreas.Add(m_dapTop);}
string key = ctrlAtGlance.Key;string name = string.Format("{0}", fundName);
DockableGroupPane dgpGridList = new DockableGroupPane();dgpGridList.ChildPaneStyle = ChildPaneStyle.TabGroup;
m_dapTop.Panes.Add(dgpGridList);
dgpGridList.Pin();dgpGridList.ShowChildPanes(true);}catch(Exception ex){}finally{ultraDockManager.EndUpdate();ultraDockManager.ResumeLayout();}
I loaded/docked two new panes, undocked one of them and docked it again at different position. After that I wasn't able to load/dock any new pane. Is there anyone who's aware of this problem and knows how to fix it?
CheersDan
How were you not able to dock any new panes? Was an exception thrown (and possibly caught by your catch block), or do you just not see it at runtime?
Hi Mike!
No, there are any exception thrown and when debug I can see how the m_dapTop.Panes.Count gets increased but the new panes aren't visible. What I did exactly is:
1.) Added two panes and they appear as tabs, as it should be.2.) Undocked one of them by double-clicking the tab.3.) Docked the floating pane to the center-bottom indicator
After that no new panes are shown anymore. The panes are added programmaticly to the UltraDockManager (please see code snippet on top).
Kind regardsDan
This could be a bug. I would recommend submitting a sample reproducing the issue to the support group: http://ko.infragistics.com/gethelp.