Hello Michael Bordogna,
We need some more information to be able to assist you with this problem - what exactly do you need this piece of code for, what do you expect to take place by removing the docks from the RadDockLayout? Please, provide as many details as possible so we can provide accurate assistance.
Sincerely yours,
Petya
the Telerik team