如何将一个项目的母版页合并到另一个项目?, [英] How to merge masterpage of one project to another project?,

查看:190
本文介绍了如何将一个项目的母版页合并到另一个项目?,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的母版页中有错误..

im having error in masterpage..

推荐答案

我想这可能会对您有所帮助: ^ ]
I guess this might help you : http://msdn.microsoft.com/en-us/library/aa992039(v=vs.100).aspx[^]


在运行时,按以下顺序处理母版页:
1.用户通过键入内容页面的URL来请求页面.
2.获取页面时,将读取@ Page指令.
3.具有更新内容的母版页将合并到内容页的控制树中.
4.单个Content控件的内容将合并到母版页中相应的ContentPlaceHolder控件中.
5,合并后的页面呈现给浏览器.

阅读更多- MSDN-母版页如何工作 [ MSDN嵌套的ASP.NET母版页 [
At run time, master pages are handled in the following sequence:
1.Users request a page by typing the URL of the content page.
2.When the page is fetched, the @ Page directive is read.
3.The master page with the updated content is merged into the control tree of the content page.
4.The content of individual Content controls is merged into the corresponding ContentPlaceHolder control in the master page.
5.The resulting merged page is rendered to the browser.

Read more - MSDN-How Master Page Work[^]
MSDN-Nested ASP.NET Master Pages[^]


这篇关于如何将一个项目的母版页合并到另一个项目?,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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