开发者

Which control add in Master Page to define region?

开发者 https://www.devze.com 2023-03-22 05:54 出处:网络
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

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

精彩评论

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

关注公众号