if (AfterClosed != null)
{
AfterClosed(sender, e);
}
}
private void SaveAllChildren(ControlCollection controls)
{
foreach (Control c in controls)
{
SaveAllChildren(c.Controls);
if (c as IDockManager != null)
{
IDockManager dManager = c as IDockManager;
foreach (IDockingSite site in dManager.DockingSites)
{
foreach (IDockable panel in site.ManagedDockables)
{
if (panel as SubClassedDockPanel != null)
{
(panel as SubClassedDockPanel).Save();
}
}
}
return;
}
}
}
basically I look for any DockingManagers in the parent DockPanel's controls and then iterate over all of their ManagedDockables in all the DockingSites. This works with the exception of when I AutoHide a child DockPanel.
There are a few difficulties I've encountered regarding "AutoHide". First is that it causes the Closed event to fire on the child panel that is being unpinned. I'd like to understand why this is happening, and (leading into my second difficulty) where does it go? The algorithm above will not find the autohidden DockPanel.
Any assistance is greatly appreciated, I know I've posted a few questions today,
Sid
Hi all from Telerik.
Congratulations for RadControls.
I'm testing the RadCarousel with NORTHWIND database (SQL Server 2005 Express).
I'm using the Employee Table and RadCarousel display the Photo.
When I change the picture, I think the radCarousel don’t paint correctly.
Can you help in this test?
I used Visual Studio 2008 Express, Windows Form Application with C# and LINQ for DataAccess.
Simple and easy.
Image:
http://www.andre-abrantes.150m.com/radCarouselEmployee.jpg http://www.andre-abrantes.150m.com/radCarouselEmployee_Release.zip http://www.andre-abrantes.150m.com/radCarouselEmployee_Source.zip
Thanks in advance.
André Abrantes.