Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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?
Posted
Updated 5-Mar-13 6:30am
v2
Comments
Richard C Bishop 5-Mar-13 12:35pm    
Change the display or visibility of the progress gif when the button is clicked.

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



--Amit
 
Share this answer
 
v2
Comments
Surendra0x2 6-Mar-13 13:01pm    
Thanks Buddy :)
_Amy 6-Mar-13 22:42pm    
Welcome. :)
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 ...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900