将ASPX CSS文件加载到在母版页中声明的telerik StyleSheetManager中
本文关键字:声明 telerik StyleSheetManager 母版页 CSS ASPX 文件 加载 | 更新日期: 2023-09-27 18:04:45
如何将ASPX CSS文件加载到在母版页中声明的telerik StyleSheetManager中?是否有类似scriptManagerProxy的类似CSS和Telerik的样式表管理器?
您可以使用静态方法获取对样式表管理器的引用:
RadStyleSheetManager.GetCurrent(this.Page).StyleSheets.Add(..);
与ScriptManager.GetCurrent(this.Page)
方法相似