仅加载内容页面 [英] load only content page

查看:91
本文介绍了仅加载内容页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道,当我们使用母版页+内容页时,每次我们基于母版页请求任何页面时,然后每次同一母版页加载内容页时.

因此有可能在我们请求页面时,如果内容页面与请求的页面相同,则仅必须加载内容页面,而不是母版页面.

只有在不同的内容页面有所不同时,才应加载它.

谢谢

解决方案

Pritesh Aryan,..

您可以通过单击右侧图标来自定义母版页的ContentPlaceHolder,然后在特定内容页上创建自己的设计.然后,可以在没有母版页设计的情况下单独加载该内容页. >

您好,
这是类似问题的答案.检查一下:
http://forums.asp.net/p/1774000/4853536.aspx/1?Re + load + only + content + page [ [ ^ ]也是如此.

--Amit


I want to know that when we use master page + content page then every time we request any page based on a master page then every time that same master page loads with content page.

So is it possible somethig that when we request pages then only content page must be loaded and not the master page if it is same for requested content pages.

It should only be loaded when it is different for a different content page.

Thanks

解决方案

Hi Pritesh Aryan,..

You can Custom the ContentPlaceHolder of the Master Page by Clicking the Right Side Icon and create your own Design on the Particular Content Page.. Then That Content Page can be Loaded separtely without the Master page Design...


Hi,
Here is a answer for the similar question. Check this out:
http://forums.asp.net/p/1774000/4853536.aspx/1?Re+load+only+content+page[^]
You can try this[^] also.

--Amit


这篇关于仅加载内容页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆