按钮启用问题Rpt.ExportToHttpResponse()报告生成 [英] button enable problem Rpt.ExportToHttpResponse() report generating

查看:171
本文介绍了按钮启用问题Rpt.ExportToHttpResponse()报告生成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在单击按钮时,我禁用了按钮,并且在生成报告启用按钮之后,但我的按钮未启用原因???给我解决方案

On click Button i disable the button and after generating report enabling button but my button doesnot enables Why?? Give Me Solution

Rpt.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, true, filename);



谢谢,



Thank You,

推荐答案

您是否尝试过使用JavaScript的disable/enable选项,如下所示:

Have you tried the disable/enable option using JavaScript as:

btnTest.Attributes.Add("onclick", " this.disabled = true; " + ClientScript.GetPostBackEventReference(btnTest, null) + ";");


这篇关于按钮启用问题Rpt.ExportToHttpResponse()报告生成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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