Can't bring back docked windows

Ashley Roach

Not sure if this is DEU syndrome or not, but I seem to have closed the windows in the StyleBuilder, and can't for the life of me figure out how to get them back. This only seems to be the case from an instance that runs after being initiated from VS. If I run from the start menu, the proper windows are displayed. I tried to rename the cfg file from ProgramData, but it didn't seem to make a difference.

Nikolay

Visual Style Builder saves its layout in a file named docklayout.cfg. If you start the VSB from Start >> Programs >> Telerik >> RadControls for WinForms [version] >> Tools >> Visual Style Builder, the docklayout.cfg will be saved in a directory similar to this:C:\Documents and Settings\All Users\Application Data\TelerikCorporation\Telerik.VisualStyleBuilder\2009.3.9.1103

The above directory depends on your Operating System version and RadControls for WinForms version, so in your case it could be slightly different.

If you open Visual Style Builder from Visual Studio and change its layout, the docklayout.cfg file will be saved in a directory similar to this:C:\Documents and Settings\All Users\Application Data\Microsoft Corporation\Microsoft® Visual Studio® 2005\8.0.50727.762

This path depends on your Operating System and Visual Studio version.

In your case you need to delete the docklayout.cfg file from the Visual Studio application data directory. This will reset the layout of RadDock.

I hope this helps. If you have additional questions, feel free to contact me.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.