Click here to Skip to main content
15,918,808 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In my website implemented a image gallery using Datalist controls in asp.net.
Imagebutton is databound with image name. So we can show imagegallery properly.
On client click of imagebutton I pass baounded value to a function in script side and it is showing as large image. But in large image .
In this left and right sides need to place a Next, Previous button .But larger image is showing by javascript code , image shown on a larger div. so in this portion no data bounding concept.
How can we implement.
Posted
Comments
Monjurul Habib 6-May-11 4:17am    
did you try anything . share your code.

1 solution

hi vipin,
You can use the lightbox js

link http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm[^]

Let me know if you find any problem in implementing the same

;) Enjoy
 
Share this answer
 
Comments
#realJSOP 6-May-11 5:38am    
5 - proposed as answer
vipinsethumadhavan 10-May-11 4:51am    
Thanks Sachin. But In webpages , images are take from database. Then how can use your solutions. Now I used a imagebutton bound image name. This is item template of Datalist.
SachinDabas123 11-May-11 4:53am    
hey Vipin,
I use the same for my one webapp just think what you have to do the sample is in html u have to get all the record from database and put it in repeater or datalist and when the html get render it should be the same as in the sample html n thats all your work is done

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