Click here to Skip to main content
15,919,931 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
I am developing a website in which I need to place galleries.
I have written code for it and it is successful.
My code is working for mainfolder pics and only subfolder pics only.
But my Requirement is for many subfolders. i need to submit the code by this friday and i am not getting any idea.

I took a page Maingallery.aspx in which i will show all the files in MainFolder. In the main folder i will place photos with names of Subfolders. When user clicks on a photo based on the photo name it redirects to other page SubGallery.aspx where it shows all the photos in Subfolder in thumbnails. When user clicks on the thumbnail it enlarges and shows with full view.

when i click on the on a Main Folder pic(Ex: Raj.jpg) it is redirecting to subfolder(Raj) photos and if there are any subfolders in that it is ignoring all of them. Please try to solve my problem or give any hint so that i can complete my task as soon as possible.

One more help please can i give the folder names dynamically to listview and so that i need to display pics in listview. Now all the images in folder i.e,.either it may 200 or 300 or 500 are displaying on a single page. i just want to change the code by displaying the pics in Listview. There will be many Folders that is what i unable to complete the task.

1 solution

This[^] might help.
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