Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET Javascript HTML , +
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 24-Nov-12 3:25am
Ash29465
Edited 24-Nov-12 3:42am
v3
Comments
Abhishek Pant at 24-Nov-12 10:01am
   
is it you want some addrotator type thing
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Use AJAX to handle this scenario.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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! Smile | :)
  Permalink  
v3
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 5

Hi,
 
1.) by using [WebMethod] you can avoid page refresh.
 
2.)by uisng updatepanel
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 6

Using updatepanel you can avoid Page Refresh
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 480
1 mhegazy94 460
2 Ravi Bhavnani 190
3 Kornfeld Eliyahu Peter 185
4 Shemeemsha RA 160
0 Sergey Alexandrovich Kryukov 7,135
1 OriginalGriff 6,801
2 CPallini 5,350
3 George Jonsson 3,619
4 Gihan Liyanage 2,797


Advertise | Privacy | Mobile
Web04 | 2.8.140922.1 | Last Updated 19 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100