母版页中的母版页和内容页菜单. [英] master page and content pages menu in master page.

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

问题描述

看看这是如何工作的,我也想要这样..

http://www.totaldotnet.com/Tip/AllTip.aspx

大家好,

我创建了网站.

在我的网站上,我使用了母版页和内容页.
主页包含菜单(除了锚代码之外,锚代码与我们的代码项目菜单一样排成一行).
我的问题是单击任何一个链接后,整个页面都在刷新(闪烁).但是我不需要那个.


我会告诉你一个例子,就像我们的代码项目站点.
每当您单击首页,文章,快速答案,讨论,学习区....无论您单击什么,内容都会发生变化.徽标和菜单不会闪烁.






请帮助我.........

see this how it works am also wants like this ..

http://www.totaldotnet.com/Tip/AllTip.aspx

Hi everybody,

I created website.

In my site i have used master page and content pages.
master page contains menu (nothing but anchor tags placed in a row like our code project menu).
my problem is after clicking on any one link the whole page is refreshing(blinking) .but i dont need that .


I will tell you one example for this is like our code project site.
whenever u click on home ,articles ,quick answers , discussions ,learning zones ....whatever u click only content is changing. logo and menu is not getting blinked.






please help me out.........

推荐答案

菜单仅是指向网站上其他页面的链接.如果单击菜单,则该页面很明显会回发.当您解释内容正在更改时,这就是您的母版页的工作.
Menu is nothing but the links to another pages in websites. If you click on the menu then it is obvious that page get postback. As you explain that content is getting changed, it is the working of your master page.


尝试使用< asp:updatepanel>您的菜单链接在这里</asp:updatepanel>
try to use <asp:updatepanel> ur menu link here </asp:updatepanel>


这篇关于母版页中的母版页和内容页菜单.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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