I've got a problem where the controls seem to be doubling up.
First, the control that is going to be decorated shows up in its default rendering look and then directly beneath it the skinned control appears. The problem is that the page renders fine if I choose one of the embedded skins.
The strange behavior only appears if I set the skin to one of my own and set EnableEmeddded="false". To create my own skin (which is set as the site default in the web.config), I simply copied the Web20 skin and replaced all occurences of _Web20 with _MySkinName. I have also added not only the FormDecorator.MySkinName.css file but also the FormDecorator.css file to the stylesheet inclues.
The problem occurs on FF2 and IE6. I am working in Windows XP on a site targeting .NET 3.5.
Code below (pretty much just copied for the online demo):
First, the control that is going to be decorated shows up in its default rendering look and then directly beneath it the skinned control appears. The problem is that the page renders fine if I choose one of the embedded skins.
The strange behavior only appears if I set the skin to one of my own and set EnableEmeddded="false". To create my own skin (which is set as the site default in the web.config), I simply copied the Web20 skin and replaced all occurences of _Web20 with _MySkinName. I have also added not only the FormDecorator.MySkinName.css file but also the FormDecorator.css file to the stylesheet inclues.
The problem occurs on FF2 and IE6. I am working in Windows XP on a site targeting .NET 3.5.
Code below (pretty much just copied for the online demo):
<h4 class="CS">Our Skin</h4> |
<telerik:RadFormDecorator ID="fdOurs" runat="server" DecoratedControls="All" EnableEmbeddedSkins="false"> |
</telerik:RadFormDecorator> |
<h4 class="CS">Checkboxes</h4> |
<asp:CheckBoxList ID="CheckBoxList1" runat="server" Width="700px" ForeColor="#FFF"> |
<asp:ListItem Text="Unchecked checkbox" /> |
<asp:ListItem Text="Checked checkbox" Selected="true" /> |
<asp:ListItem Enabled="false" Text="Unchecked and disabled checkbox" /> |
<asp:ListItem Enabled="false" Selected="true" Text="Checked and disabled checkbox" /> |
</asp:CheckBoxList> |
<h4 class="CS">Radiobuttons</h4> |
<asp:RadioButtonList ID="RadioButtonList1" runat="server" Width="700px" TextAlign="Right"> |
<asp:ListItem Text="unselected radiobutton" /> |
<asp:ListItem Text="selected radiobutton" Selected="true" /> |
<asp:ListItem Text="unselected and disabled radiobutton" Enabled="false" /> |
</asp:RadioButtonList> |
<h4 class="CS">Buttons</h4> |
<button style="color: #FFF;" type="button"> |
Enabled Button</button> |
<input type="button" value="Disabled Button" disabled="disabled" /> |