Hi,
I have classes that inherits from your controls. The classes applies default values to your controls. When
i override the OnPreRender are skins no more applied on dialog.
Here an example class
Code: C#
public class DialogNoClose : Dialog
{
protected override void OnPreRender(EventArgs e)
{
base.OnPreRender(e);
}
}
And here the Skin File
Code: HTML/ASPX
<wctl:DialogNoClose runat="server" BackColor="white" BorderColor="#bdd1ec" BorderStyle="solid" BorderWidth="1px" CloseButtonUrl=""
ControlSkinID="none" HorizontalAlign="left" BackShadeColor="gray" BackShadeOpacity="70">
<HeaderStyleActive CssText="padding-right: 4px; padding-left: 4px; font-weight: bold; padding-bottom: 6px; color: #b1b1b1; font-size: 11px; padding-top: 6px; font-family: verdana" />
<ContentStyleActive CssText="padding-right: 4px; border-top: #bdd1ec 1px solid; padding-left: 4px; padding-bottom: 4px; font-size: 11px; padding-top: 4px; font-family: verdana" />
<FooterStyleActive CssText="padding: 10px;" />
</wctl:DialogNoClose>
What i do wrong? Without the PreRender Method in my class it works fine.