-4

我试过谷歌搜索。(和 MSDN-ing。)

我也尝试将文本放在那里,但没有任何效果。

编辑:我的意思是:与单标签元素相反:<asp:ContentPlaceHolder ... />

4

2 回答 2

3

它用于指定默认内容。

<asp:ContentPlaceHolder>
   <!-- what's in here is the default content if the placeholder's content never gets set elsewhere-->
</asp:ContentPlaceHolder>

这是一个例子

于 2012-07-25T14:01:18.333 回答
1

IT 不必打开和关闭。见下文:

<asp:ContentPlaceHolder />

以上将起作用。

于 2012-07-25T13:50:55.560 回答