主题


Warning: Undefined array key "HTTP_REFERER" in /www/wwwroot/prod/www.enjoyasp.net/wp-content/plugins/google-highlight/google-hilite.php on line 58

1,新建:右键新增项-外观文件
2,编辑:如
注:没有ID属性
3,应用:在web.config中的 ……….. 这样就为整个网站的button指定了样式
页面级引用: <%@ Page Theme="Skin1" ......... 4,新建多个主题,选择改变,在程序中指定 protected void Page_PreInit(object sender, System.EventArgs e) { try { Theme = "Skin1"; } catch { // Empty strings result in no theme being applied. Theme = ""; } }