




















在web.config中设置了默认的Theme,其部分如下的配置节点:
<system.web>
<pages theme="Default" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
</system.web>
如何读取theme的值,可以看我以下的代码。
System.Web.Configuration.PagesSection ps = (System.Web.Configuration.PagesSection)System.Configuration.ConfigurationManager.GetSection("system.web/pages");
TextBox1.Text = ps.Theme;
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。