简体   繁体   中英

How to see content place holder's content in default.aspx?

This problem may be a bug. i have spent too much time trying to solve it.

I inherited a master page to mycustom aspx pages but I can not see the aspx page content. (maybe my visual studio does not detect contentplace holder).

My master.aspx :

RESULT : This page inherited from Site.Master but I can not see contents 在此处输入图片说明

Why can I not see my content areas inherited page from master page? How would this issue be solved?

<div style=" background-color:Silver; background-repeat: repeat-x repeat-y;  width:64%;" visible="false" >

我认为是因为您的div隐藏了=)

Penguen,在“设计视图”中输入或运行应用程序时看不到内容吗?

Your ContentPlaceHolder ContentPlaceHolder1 is nested inside the PlaceHolder control with ID=plhToolBar on the Master page. I think it needs to be directly on the Master page, not nested inside another control.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM