【发布时间】:2011-05-06 12:37:15
【问题描述】:
在 Telerik.Web.UI.xml 文件中我找到了这个条目
<member name="P:Telerik.Web.UI.RadDataBoundControl.Skin">
<summary>Gets or sets the skin name for the control user interface.</summary>
<value>A string containing the skin name for the control user interface. The default is string.Empty.</value>
<remarks>
<para>
If this property is not set, the control will render using the skin named "Default".
If EnableEmbeddedSkins is set to false, the control will not render skin.
</para>
</remarks>
</member>
说 RadControls 正在使用名为 Default 的皮肤。现在如果我希望它不是默认皮肤怎么办……如果我希望它是一些要渲染的 CustomSkin 而不是默认皮肤怎么办?我需要在哪里设置我想要使用的皮肤的值?我不太了解 XML..所以问
这个 xml 文件到底是干什么用的?只描述东西?这个xml文件的目的是什么??
[编辑]
尝试在 webconfig.xml 中全局设置 Skin,如 telerik's website 中所述,如下所示:-
<add key="Telerik.EnableEmbeddedSkins" value="true" />
<add key="Telerik.EnableEmbeddedBaseStylesheet" value="true" />
<add key="Telerik.RadEditor.Skin" value="CustomSkin" />
这不会造成任何差异!仅使用默认文件:(
【问题讨论】: