Click here to Skip to main content
15,886,664 members
Please Sign up or sign in to vote.
3.67/5 (2 votes)
Hi,

I am working on a web page that deals with creating multiple images on a area (considering there is a wall and I need to place multiple objects on the floor).
How do I place multiple images on the wall area "on every next button click"??
On single button click the image appears but on clicking on another button the image in the wall area disappears (that is a page load event taking place)
How do I avoid this? as I have to place another image next to the earlier.

Kindly help!
Posted
Updated 24-Nov-12 3:42am
v3
Comments
Abhishek Pant 24-Nov-12 10:01am    
is it you want some addrotator type thing

Use AJAX to handle this scenario.
 
Share this answer
 
How to AVOID Page Refresh in Asp.net ?[^]
How to stop to reload page when click the button?[^]
Image Swap Without Page Refresh[^]
Rotating Images with ASP.NET 4.0 and C#[^]
Further you can use modal popup extender of ajaxcontroltoolkit to open the image

hope it helped you!

happy coding! :)
 
Share this answer
 
v3
Hi,

1.) by using [WebMethod] you can avoid page refresh.

2.)by using updatepanel
 
Share this answer
 
v2
Using updatepanel you can avoid Page Refresh
 
Share this answer
 
see here..
#Her[^]
 
Share this answer
 
Comments
CHill60 23-Oct-14 5:00am    
Couple of years too late!

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