Click here to Skip to main content
15,898,999 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
How to show a div which is outside the update panel from a button click which is inside the update panel
Posted

You can do this by javascript easily. Register a startup script from server side, when your button is clicked. And that javascript function, will display the div.

Another, if your div is server side, you can add this to updatepanel dynamically, so once your updatepanel gets updated, you div will also be updated. Just you need to display it on button click event
Have a look to the links, to know, how to achieve this
Click here

Click here 2
 
Share this answer
 
Apart from options provided by Brij, you can also do something like:
Put the div in another update panel. Call this update panels update via code when you click button of previous update panel.
 
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