什么需要母版页 [英] what is need Master page

查看:132
本文介绍了什么需要母版页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我成为母版页时,我们都可以在母版页中进行编码.
是指hum sabhi编码母版页karte,来自每个编码karke链接的其他Web连接karte h.

shubham vijay

when I am make a master page then we can all coding in master page or not.
means hum sabhi coding master page m karte ya other web from per coding karke link connect karte h.

shubham vijay

推荐答案

尝试此链接

http://msdn.microsoft.com/en-us/library/wtxbf3hh.aspx [ ^ ]
Try this link

http://msdn.microsoft.com/en-us/library/wtxbf3hh.aspx[^]


基本母版页使您可以为应用程序中的页面创建一致的布局. ASP.Net母版页定义应用程序中所有页面(或一组页面)所需的主页的外观和标准行为.稍后,您可以创建包含要显示的内容的单个内容页面.当用户请求内容页面时创建内容页面后,他们与母版页合并以产生输出,该输出将母版页的布局与内容中的内容组合在一起页面.
您应该浏览 MSDN- [ASP.NET母版页] [为什么需要ASP. NET母版页? [ ^ ]
Basically master pages enable you to create a consistent layout for the pages in your application. A ASP.Net master page defines the look and feel and standard behavior of your Main Page that you want for all of the pages (or a group of pages) in your application. later You can create individual content pages that contain the content you want to display.After creating Content Page when users request the content pages, they merge with the master page to produce output that combines the layout of the master page with the content from the content page.
you should navigate MSDN-[ASP.NET Master Pages][^] to know more about Master Page and how to use it.

Advantages of Master Pages in ASP.NET
* It allow you to centralize the common functionality of your pages so that you can make updates in just one place.
* It can make it easy to create one set of controls and code and apply the results to a set of pages.
* It give you fine-grained control over the layout of the final page by allowing you to control how the placeholder controls are rendered.
* It provide an object model that allows you to customize the master page from individual content pages.
Reference Link :- Why do I need ASP.NET Master Pages ?[^]


Vijay,

首先,您必须阅读ASP.net或网络教程.了解有关ASP.net服务器页面的信息.
然后开始做一些事情,然后,如果您遇到任何问题,请来到这里.

通过以下链接
http://www.w3schools.com/aspnet/default.asp [
Hi Vijay,

First you have to take book of ASP.net or web tutorial. get some idea about the ASP.net Server pages.
then Start do some thing, then if you got any problem come here.

go through the below link
http://www.w3schools.com/aspnet/default.asp[^]

Best of luck


这篇关于什么需要母版页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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