每次我在Asp.Net中单击类型控件时,我的问题是刷新页面 [英] My Problem Is Msterpage Refresh Every Time I Click The Type Control In Asp.Net

查看:72
本文介绍了每次我在Asp.Net中单击类型控件时,我的问题是刷新页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





这是bharat kumar,



i面对母版页的小问题chaild页面。当我单击 href 按钮时,将刷新母版页。这里 href 按钮放在母版页中。在该按钮重定向到子页面,子页面呈现但主页面刷新。



如何解决问题



请帮帮我



谢谢

bharat kumar

Hi,

THis is bharat kumar,

i face a small problem with master page and chaild page. when i click the href button the master page is refreshed. here href button is placed in master page. in that button redirect to child page, the child page is rendered but the master page is refreshed.

how to fix the problem

Please help me

thank you
bharat kumar

推荐答案

我建​​议你使用 UpdatePanel [ ^ ],在你的内容占位符。



看到这个,

UpdatePanel控件简介 [ ^ ]和

http: //geekswithblogs.net/ranganh/archive/2007/05/11/112405.aspx [ ^ ]



-KR
I'd suggest you to use UpdatePanel[^], in your content placeholder.

See this,
Introduction to the UpdatePanel Control[^] and
http://geekswithblogs.net/ranganh/archive/2007/05/11/112405.aspx[^]

-KR


Hai



如果你点击链接表单母版页重定向到子页面,绝对是主页刷新,你不能避免那个,如果它是子页面刷新当你点击任何按钮或链接可以处理子页面中的刷新问题。但从主页面寻呼机它将刷新。
Hai

If u click link form master page for redirect to child page,definitely master page refresh,u cant avoid that one,if it is child page refresh when u click any buttons or links can handle refresh problem itself in child page.But from master pager it will refresh.


这篇关于每次我在Asp.Net中单击类型控件时,我的问题是刷新页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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