The RadDockLayout control has a property RegisteredDocks
, which gives access to a collection of all RadDock controls, registered in this dock layout. After referencing the RadDocks, you can retrieve all available information that is exposed through the control's properties. The example below demonstrates how to get the IDs of every RadDock in the RadDockLayout from your code sample:
sender, EventArgs e)
Also, I would suggest using a single RadDockLayout on your page and inserting all RadDockZones and RadDocks in it, so that you can successfully manage their layout.
I hope this helps.
All the best,
the Telerik team
Sharpen your .NET Ninja skills
! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>