#03 ASP.NET主题
来源:互联网 发布:公知日杂什么意思 编辑:程序博客网 时间:2024/06/09 16:54
新建外观文件
在右侧解决方案新建的网站,
右键 - 添加ASP.NET文件夹 - 主题
在主题上右键 - 添加新项 - 外观文件,
填写主题代码
在外观文件中填写主题代码
例如:
<asp:Button runat="server" BackColor="Black" Font-Bold="True" Font-Size="Medium" ForeColor="White" width=100 /><asp:Label runat="server" Font-Bold="True" Font-Size="Large" /><asp:TextBox runat="server" Height="97px" BackColor="#99CCFF" ForeColor="White" />
配置文件
为了使所有的页面都使用主题,可以在 web.config 文件中添加一句语句
<system.web> <compilation debug="false" targetFramework="4.0" /> <pages theme="MyThemes"/> </system.web>
MyThemes是你新建的主题名。
SUCCESS!
0 0
- #03 ASP.NET主题
- ASP.NET 主题
- Asp.NET主题应用
- asp.net主题 皮肤
- asp.net主题概述
- ASP.net 主题 FAQ
- asp.net主题切换
- 有关ASP.NET主题
- ASP.NET-使用主题
- ASP.NET 主题和外观
- ASP.NET 主题和外观
- ASP.NET 主题和皮肤
- asp.net 动态加载主题
- ASP.net的主题App_Themes
- ASP.NET主题和皮肤
- asp.net动态切换主题
- 【ASP.NET】Customization主题和Stylesheet主题详解
- 在asp.net 2.0中使用主题
- 一个字符串的最长回文子串的长度
- Spring Cacheable注解不缓存null值
- POJ-1665 求树的重心 dfs
- android处理消息机制----Handler
- VI 快捷键for MAC
- #03 ASP.NET主题
- OJ 高精度加法
- 内部体验腾讯云负载均衡的新功能
- tcp jprobe 利用问题定位
- Visual Studio 2013编译OpenCV3.0+ITK-SNAP
- 对点书系统的第一次改进
- 判断IPV6地址格式是否正确
- Linux任务计划crontab
- 自我介绍