如何在特定按钮单击时禁用更新进度gif [英] How to Disable Update progress gif on specific button click

查看:83
本文介绍了如何在特定按钮单击时禁用更新进度gif的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个更新面板和updateprogress,并且更新面板内有两个按钮

假设button1和button2我想在button2上隐藏更新进度gif单击我该怎么做?

i have an update panel and updateprogress and there are two button inside update panel
suppose button1 and button2 i want to hide update progress gif on button2 click how can i do this?

推荐答案

点击button2点击javasctipt事件并将进度图像的可见性设置为false。

试试这个:

On click of button2 fire a javasctipt event and set the visibility of progress image to false.
Try this:
function hideshow(){
     document.getElementById('ProgressImage').style.display="none"
}







--Amit




--Amit


On Button OnClient点击事件,您可以编写一个JavaScript函数来隐藏和显示代码。

你可以在OnClient上调用该函数点击事件。

它会起作用......
On Button OnClient Click event you can write one JavaScript Function to Hide and Display code.
And You can Call that function on OnClient click event.
It will work ...


这篇关于如何在特定按钮单击时禁用更新进度gif的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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