网络编程 
首页 > 网络编程 > 浏览文章

在Web用户控件中引用样式表中样式的方法

(编辑:jimmy 日期: 2024/10/18 浏览:3 次 )
如何在Web用户控件中引用样式表中的样式
复制代码 代码如下:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="gl1.ascx.cs" Inherits="admin_gl1" EnableTheming="True" %>
< link href="../App_Themes/qiantai.css" rel="stylesheet" type="text/css" />

EnableTheming="True",加上这个,CSS就可以起作用了
上一篇:使用Aspose.Cells组件生成Excel文件实例
下一篇:Asp.net调试的一些问题小结
友情链接:杰晶网络 DDR爱好者之家 南强小屋 黑松山资源网 白云城资源网 SiteMap