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 4:25am
Ash29470
Edited 24-Nov-12 4: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 using updatepanel
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 6

Using updatepanel you can avoid Page Refresh
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 8

see here..
#Her[^]
  Permalink  
Comments
CHill60 at 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)

  Print Answers RSS
0 OriginalGriff 562
1 Sergey Alexandrovich Kryukov 484
2 Maciej Los 325
3 DamithSL 233
4 Mathew Soji 195
0 OriginalGriff 7,168
1 Sergey Alexandrovich Kryukov 6,377
2 DamithSL 5,461
3 Manas Bhardwaj 4,876
4 Maciej Los 4,450


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 23 Oct 2014
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