Hi,
While clicking on the AutoHide icon of the toolwindow ,i am getting the belowed exception window.
{"Unable to locate the specified control in the AutoHideHost."}
belowed code is used inside the windowStateChange of that docksite.
if (e.Window.State.ToString() == Constants.AutoHide)
{
ToolWindowContainer con = newToolWindowContainer();
if (toolWindow.Parent != null){
ToolWindowContainer ablContainer = toolWindow.Parent asToolWindowContainer;
if (ablContainer != null){
ablContainer.Items.Remove(toolWindow);
con.Items.Add(toolWindow);
toolWindow.CanAutoHide =true;
baseDocksite.AutoHideRightContainers.Add(con);
}
}
}