You can set RadDock's OnClientInitialize server-side in the following way:
dock.OnClientInitialize = "OnClientInitialize";
function OnClientInitialize(dock, args)
So you have a reference to the dock and can get its ID with dock.get_id(). Hope this helps.
the Telerik team