开发者

Which control add in Master Page to define region?

I am developing an ASP.NET Web application. I create a master page. The master page requires a region where i can add page-specific content by using the ASP.NET page designer. I need to add a control to the master page to define the re开发者_开发百科gion. Which control should I add?

ContentPlaceHolder or PlaceHolder?


ContentPlaceHolder is specifically for use on master pages to hold page-specific content. PlaceHolder is for use on content pages.

Use ContentPlaceHolder.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜