contentplaceholder和placeholder之间的区别 [英] difference between contentplaceholder and placeholder
本文介绍了contentplaceholder和placeholder之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请给我技术答案。请......
解决方案
谷歌在你居住的地方被打破了吗?
https://www.google.com.au/search?sugexp=chrome,mod=3&sourceid=chrome& ie = UTF-8& q = + contentplaceholder +和+占位符之间的差异+ [ ^ ]对此基本问题有大量答案。一个更好的问题是,你为什么关心?你为什么学习(因为你显然是初学者)而不学习MVC?
PlaceHolder
PlaceHolder控件是用作我们希望添加的任何控件的容器用于任何页面。
ContentPlaceHolder
ContentPlaceHolder用于保存内容中的内容页面
并且只能在母版页上使用。
APlaceHolder
控件用作您希望添加的任何控件的容器,可以在任何页面上使用。
AContentPlaceHolder
用于保留内容页面中的内容,只能在母版页上使用。
<编辑名称=Marco Bertschi>删除了预标签< / Edit>
Please give me technical answer . Please......
解决方案
Is google broken where you live ?
https://www.google.com.au/search?sugexp=chrome,mod=3&sourceid=chrome&ie=UTF-8&q=difference+between+contentplaceholder+and+placeholder[^] has tons of answers to this basic question. A better question would be, why do you care ? Why are you learning ( because you''re clearly a beginner ) and not learning MVC ?
PlaceHolder
A PlaceHolder control is used as a container for any controls we wish to add be used on any page.
ContentPlaceHolder
A ContentPlaceHolder is used to hold content from content pages
and can only be used on a Master Page.
APlaceHolder
control is used as a container for any controls you wish to add and can be used on any page.
AContentPlaceHolder
is used to hold content from Content Pages and can only be used on a Master Page.
<Edit name="Marco Bertschi">Removed pre-tags</Edit>
这篇关于contentplaceholder和placeholder之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文