I have usercontrol to create Raddocks dynamically from the parent page. The radocks are using a stylesheet and have EnableEmbeddedSkins set to false.
When the stylesheet definition is provided in the user control, the dock controls have the right stylesheet applied to them, but loading the page takes a long amount of time as the same stylesheet is loaded over and over again for each dock control created by the user control (I do have quite a few of them on each page).
<link rel="stylesheet" type="text/css" href="../../Skins/DesignerSkin/Dock.DesignerSkin.css" />
So what I was trying to do is define the stylesheet on the parent page so that it won't be loaded multiple times there by reducing the loading time for the page. Doing so, does reduce the load time, however, the stylesheet doesn't get applied to the dock controls. I even tried exposing the dock controls from the user control and setting the 'skin' property from parent page, but it still doesn't work.
<head><link rel="stylesheet" type="text/css" href="../../Skins/DesignerSkin/Dock.DesignerSkin.css" /></head>
Can someone suggest a way to work around this issue?
Thanks.
Sameer
When the stylesheet definition is provided in the user control, the dock controls have the right stylesheet applied to them, but loading the page takes a long amount of time as the same stylesheet is loaded over and over again for each dock control created by the user control (I do have quite a few of them on each page).
<link rel="stylesheet" type="text/css" href="../../Skins/DesignerSkin/Dock.DesignerSkin.css" />
So what I was trying to do is define the stylesheet on the parent page so that it won't be loaded multiple times there by reducing the loading time for the page. Doing so, does reduce the load time, however, the stylesheet doesn't get applied to the dock controls. I even tried exposing the dock controls from the user control and setting the 'skin' property from parent page, but it still doesn't work.
<head><link rel="stylesheet" type="text/css" href="../../Skins/DesignerSkin/Dock.DesignerSkin.css" /></head>
Can someone suggest a way to work around this issue?
Thanks.
Sameer