How to make user controls know about css classes in ASP.NET

后端 未结 4 711
青春惊慌失措
青春惊慌失措 2020-11-28 22:10

Since there are no header sections for user controls in asp.net, user controls have no way of knowing about stylesheet files. So css classes in the user controls are not rec

4条回答
  •  醉话见心
    2020-11-28 22:24

    Add the style on your usercontrol and import css in it.

     <%@ Control Language="vb" AutoEventWireup="false" CodeBehind="WCReportCalendar.ascx.vb"
    Inherits="Intra.WCReportCalender" %>
     
    
     your html 
    

提交回复
热议问题