Chrome中的ASP按钮点击问题 [英] ASP Button click issue in chrome

查看:224
本文介绍了Chrome中的ASP按钮点击问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用c#ASP.NET应用程序.

我的应用程序上有一个ASP按钮,带有关联的服务器端单击事件.
该按钮位于updatepanel内部.
现在,不会使用Google chrome触发此点击事件(在IE,Mozilla上可以正常工作).

请为此

Hi,

I''m working on an c# ASP.NET app.

I have an asp button on my app with an associated server side click event.
The button is inside the updatepanel.
Now, this click event is not being fired with Google chrome (works fine on IE, Mozilla).

Please provide a solution for this

推荐答案

提供解决方案,请参见此链接

http://stackoverflow.com/questions/2942677/google-chrome- and-asp-button-click-event-issue [ ^ ]
see this link

http://stackoverflow.com/questions/2942677/google-chrome-and-asp-button-click-event-issue[^]




使用将有助于在更新面板中触发事件的触发器



use triggers which will help to get event fire inside a update pannel

<Triggers>
        <asp:AsyncPostBackTrigger ControlID="chkNewGroup" EventName="CheckedChanged" />




控件ID是您的按钮

和事件名称也一样




control id is ur button

and event name too


这篇关于Chrome中的ASP按钮点击问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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