如何使用内容占位符asp.net创建母版页 [英] how to create master page with content placeholder asp.net

查看:52
本文介绍了如何使用内容占位符asp.net创建母版页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用内容占位符asp.net创建母版页

how to create master page with content placeholder asp.net

推荐答案

请检查MSDN http://www.virtualsecrets.com/dotnet-35-master-pages.html [ ^ ]进入步骤逐步说明.
Please check MSDN http://msdn.microsoft.com/en-us/library/wtxbf3hh.aspx[^]


Also Check this link http://www.virtualsecrets.com/dotnet-35-master-pages.html[^] to get step by step explanation.


朋友您好,请看这里..

创建网站后

1)右键单击解决方案资源管理器
2)选择添加新项目
3)选择母版页
4)根据您的要求设计母版页
5)右键单击您设计的母版页
6)选择添加内容页面
7)对内容页面做任何您想做的事


您还可以根据需要添加任意数量的内容页面


如果您需要视觉教程,请参阅此
这是一篇很好的文章,显示了您想要的东西....

http://www.asp.net/master-pages/tutorials/creating-a-site-wide-layout-using-master-pages-cs [
Hello friend please see this..

after creating a website

1) right click solution explorer
2) select add new item
3) select master page
4) design master page as per your requirement
5) right click your designed master page
6) select add content page
7) do any thing you want with content page


you can also add content page as many as you need

OR
if you need visual tutorial then please see this
this is nice article that shows what you want....

http://www.asp.net/master-pages/tutorials/creating-a-site-wide-layout-using-master-pages-cs[^]


这篇关于如何使用内容占位符asp.net创建母版页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆