保存按钮无法在Chrome浏览器中使用,保存一次? [英] Save button not working in Chrome browser,afer saved once ?

查看:112
本文介绍了保存按钮无法在Chrome浏览器中使用,保存一次?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好



在通过客户端scriptmanager保存i Call Print方法时,在打开打印页面后,当进入第二个条目时页面被挂起,按钮不是在Chrome浏览器工作,其他浏览器工作正常。



如果有人知道这个问题..请更新我



感谢和问候,

Prakash M

Hi all

While Saving i Call Print method also through client scriptmanager,after opend print page,when going to second entry the page was hanged,button are not working In Chrome Browers,and other browers are working fine.

if any body knows this issue ..please update me

thanks and regards,
Prakash M

推荐答案

如果您使用的是ajax,那么更新面板将停止页面刷新如果您使用控制边事件打印任何文档的时间。然后它需要页面刷新其他方面它将无法工作。

为此你必须使用AsyncPostBackTrigger



< asp:asyncpostbacktrigger xmlns:asp =#unknown> element特别有用,因为它可以定位来自Control的任何事件,该控件作为封装单元中任何UpdatePanel控件的子代而存在,而不仅仅是此触发器是子代的UpdatePanel。因此,可以进行任何控制以触发部分页面更新。

If you are using ajax then update panel will stop page refresh at the time if you are using control side event to print any document. Then it needs to page refresh other wise it will not work.
For this you have to use AsyncPostBackTrigger

The <asp:asyncpostbacktrigger xmlns:asp="#unknown"> element is particularly useful in that it can target any event from a Control that exists as a child of any UpdatePanel control in the unit of encapsulation, not just the UpdatePanel under which this trigger is a child. Thus, any control can be made to trigger a partial page update.
<triggers>
 <asp:asyncpostbacktrigger controlid="Button1">
 EventName="Click" /> 
 </asp:asyncpostbacktrigger></triggers> 



从以下链接获取更多详细信息

understanding-asp-net-ajax-updatepanel-triggers [ ^ ]


这篇关于保存按钮无法在Chrome浏览器中使用,保存一次?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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