母版页问题 [英] problem with master page

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

问题描述

我在母版页上有按钮.我在母版页中使用了更新面板,以免使页面受到干扰...如果我添加更新面板,然后按钮停止工作,那么我们不能单击按钮,我该怎么办……....................................................................................... .....

i have buttons on master page.i used update panel in master page for avoiding flikering the page...if i add upadate panel then button stops working mns we cant click on button what should i do...........

推荐答案



您必须使用triger,它应该在更新面板中
< updatepanel>
< contenttemplate>
....您的控制权



< triggers>
Hi,

you have to use triger it should inside Update Panel
<updatepanel>
<contenttemplate>
....your control



<triggers>
<asp:AsyncPostBackTrigger ControlID="Button1" EventName="Click" />
         </Triggers>
    <UpdatePanel>


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

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