如何将我们自己创建的母版页添加到Web [英] How to add master page which was created on our own to a webfrom

查看:74
本文介绍了如何将我们自己创建的母版页添加到Web的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个母版页,然后创建了一个aspx页.在aspx页中它包含一些html内容.因此如何将母版页附加到该aspx页上.由于我是.net的新手,请告诉我一些简单的方法解决方案的基本步骤.

I have created a masterpage.And after that i have created an aspx page .In the aspx page it has some html content.So how attach masterpage to that aspx page.As i am new to .net please tell me some simple basic steps to solve it.

推荐答案

如果您已使用母版页,则应在其中具有ContentPlaceHolder.右键单击它,您将获得添加内容".页面",单击该按钮.然后您将得到答案
If you have used Master Page, then you should have ContentPlaceHolder in it.. Right click on it, you will get "Add Content Page", Click on that.. And you will get your answer


这篇关于如何将我们自己创建的母版页添加到Web的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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