Click here to Skip to main content
15,898,943 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
click on image and redirect on another page how to get same image on next page description of same image how? please help me...........
Posted
Updated 1-Mar-12 2:29am
v2
Comments
ZurdoDev 1-Mar-12 8:30am    
Set a hyperlink and in the hyperlink add an image or path to the querystring and then on the next page just load that image.

Your image must have a unique id, You can pass it as a parameter (query string) when redirecting it to the next page. And on the next page using the id get the description.
 
Share this answer
 
Comments
prakash00060 1-Mar-12 8:39am    
sir can we fetch id from database and pass it through query string.
Anuja Pawar Indore 1-Mar-12 9:30am    
Yes you can bind the id from data base and pass it to the query string
Hello prakash,

By looking at your comment i would like to suggest you something,
In a web application most important is performance of application & when performance comes in picture we should think of client side data & serverside data.
when once the data comes to browser or client side we should avoid to go to server instead try to use javascript or html controls.
So when u are loading image on one page with that load id& path, while click u pass those values to next page using query string (page.aspx?key=value).


Enjoy Coding
 
Share this answer
 
 
Share this answer
 
Here an article for you related to your requirement
Peanut Gallery – An Easy Image Gallery for ASP.NET[^]
 
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