This is a migrated thread and some comments may be shown as answers.

rdPlaceHolder skin modification

1 Answer 58 Views
Dock
This is a migrated thread and some comments may be shown as answers.
colt
Top achievements
Rank 1
colt asked on 27 Aug 2008, 05:48 PM
I am using a RadDock with a custom skin. The problem that I am facing is that the rdPlaceHolder is always set to the default theme no matter what I change. This in turn loads a whole bunch of axd files that I don't want.

I want to be able to set the rdPlaceHolder to disable embedded styles and use mine.

1 Answer, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 28 Aug 2008, 11:04 AM
Hi Colt,

The RadDockZone's placeholder is rendered with RadDock_Default rdPlaceHolder css class no matter of the skin which is applied, however, the RadDock_Default selector does not influence the appearance of the placeholder and should not confuse you. This setting does not lead to loading any additional axd files. The axd files which the RadDock controls loads when using a built-in skin are two - a base stylesheet file and a specific skin file. When you use a custom skin you need to set the EnableEmbeddedSkins property of the RadDock to false so that the second skin file will not be loaded. We recommend using the base stylesheet of the control even if you use a custom skin as it contains some common css settings of the dock, however, if you do not need it you could avoid loading it by setting the EnableEmbeddedBaseStylesheet property of the dock to false. I suggest you take a look at the Creating a custom skin help article for more details.
You mention that a bunch of axd files are loaded, we could recommend you check what kind of controls you have on the page and what are the skins they use. Most probably the axds files you see are loaded from other controls on the page.
If you need further assistance, do contact us again.

Sincerely yours,
Sophy
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Dock
Asked by
colt
Top achievements
Rank 1
Answers by
Sophy
Telerik team
Share this question
or