用户控件和母版页之间的差异 [英] diffidence between user control and master page

查看:120
本文介绍了用户控件和母版页之间的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

用户控件和母版页之间的差异,请参见4-4差异

diffidence between user control and master page, plz 4-4 difference

推荐答案

母版页和用户控制是两个不同的概念.

母版页用于提供一致的布局和

中多个页面的常见行为 应用程序.然后您可以添加Contenetplaceholder来添加
子页面自定义contenet.
用户控件:有时您需要在您的网络中使用该功能
使用内置Web服务器无法访问的页面
控件,然后用户可以创建自己的控件,称为用户
使用asp.net内置控件的控件.用户控件
扩展名为.aspx的用户,您可以在
中共享它 应用程序.
Master pages and user controils are two different concepts.

Master Pages are used to provide the consistent layout and
common behaviour for multiple pages in your
applications.then u can add the Contenetplaceholder to add
child pages custom contenet.
User Controls:Sometimes u need the functionality in ur web
pages which is not possible using the Built-In Web server
controls then user can create his own controls called user
controls using asp.net builtin controls.User controlsn are
those with .aspx extensions and u can share it in the
application.


请参阅:

http://www.allinterview.com/showanswers/36311.html [
Refer this:

http://www.allinterview.com/showanswers/36311.html[^]


检查类似问题的答案:
用户控制和母版页 [母版页与用户控件与自定义控件之间的差异 [母版页与aspx页之间的差异 [ Usercontrol与母版 [^ ]
母版页"和"asp.net中的用户控件 [ ^ ]
Check the answers for similar question:
User control and master page[^]

Difference between Masterpage vs Usercontrol vs Customcontrol[^]
Difference between master page and aspx page[^]

Difference Between Usercontrol & master Pages [^]
Difference between Master Page & User Control in asp.net[^]


这篇关于用户控件和母版页之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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