简体   繁体   中英

How to use .skin file present in a folder under Theme folder?

friends... I want to use skin file "Black.skin" which is present in a folder "Skins" under theme's folder "Black_Theme" as shown folder structure in below fig.

项目文件夹结构

In .aspx page, I am using

<%@ Page StylesheetTheme="Black_Theme" 

and in body, I am using skin file as

 <asp:Button ID="btn" runat="server" Text="Click Me" />
 <asp:Button ID="Button1" runat="server" Text="Click Me" SkinID="yellow" />

But When I run and check output, page is rendered as no skin applied. So, some how skin file is not applied. When I move skin file to theme's folder, it works as expected. So, I need to give reference of skin file in a folder under theme's folder.

How to use .skin file present in a folder under Theme folder ?

Thanks in advance.

在Web.Config文件的Pages标记中设置主题属性的值,例如<pages theme =“ default” />

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM