At the bottom of the page, add a hidden panel using the following code.
在页面的底部,添加一个隐藏的面板控件,代码如下。
When you find a ContentPlaceHolder control (or a server control) cut and paste it into that hidden panel.
每找到一个ContentPlaceHolders控件(或者一个服务器控件),剪切并粘贴到刚刚添加的隐藏面板中。
When you finish, you’ll have a master page whose server controls are entirely contained in a hidden panel.
完成之后,模板页上的所有服务器控件将完全的被包含在一个隐藏面板中。
应用推荐