在Web用户控件中引用样式表中样式的方法
来源:懂视网
责编:小采
时间:2020-11-27 22:40:26
在Web用户控件中引用样式表中样式的方法
在Web用户控件中引用样式表中样式的方法:如何在Web用户控件中引用样式表中的样式 代码如下:<%@ Control Language=C# AutoEventWireup=true CodeFile=gl1.ascx.cs Inherits=admin_gl1 EnableTheming=True %> < link href=../
导读在Web用户控件中引用样式表中样式的方法:如何在Web用户控件中引用样式表中的样式 代码如下:<%@ Control Language=C# AutoEventWireup=true CodeFile=gl1.ascx.cs Inherits=admin_gl1 EnableTheming=True %> < link href=../

如何在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就可以起作用了
在Web用户控件中引用样式表中样式的方法
在Web用户控件中引用样式表中样式的方法:如何在Web用户控件中引用样式表中的样式 代码如下:<%@ Control Language=C# AutoEventWireup=true CodeFile=gl1.ascx.cs Inherits=admin_gl1 EnableTheming=True %> < link href=../