Listing Subfolders of media library in repeater

benyamin jain asked on August 16, 2014 13:43

HI Is there any way to display subfolders of one defined media library in Repeater? say: -VideoGallery --ASP.NET --CSS3 --HTML5 --CSS

-ImageGalley --Documntary --Country --Travel

each galley has it's own page in content tree VideoGallery.aspx must display all of it's child galley and so on.

how i can achieve this?

Recent Answers


Brenden Kehren answered on August 18, 2014 03:26

Have you looked into any of the Media Library webparts? There are some that display a tree navigation and some that don't based on your folder structure.

0 votesVote for this answer Mark as a Correct answer

benyamin jain answered on August 18, 2014 08:37

I am looking to Media Library web parts but none of them meet my requirement. i need to display sub folders of media library in repeater. note that there are other ways to create for example image gallery.but it is necessary for me to do that by using Media library module.

each media library has many sub folders that i need to display them in a repeater, then user can click on them and see library files.

in the KenticoCMS V6 there is not such a web part to display sub folders(and also V7). if there is one please point it here. after 3 days i think it is required to develop a custom web part to list sub folders in a repeater.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on August 18, 2014 13:57

Do a search for "media" in your webpart list. There are quite a few. If you don't find one you need you can look in the Marketplace or create your own.

0 votesVote for this answer Mark as a Correct answer

benyamin jain answered on August 20, 2014 12:50

Thanks Brenden I will try to create a webpart to display subfolders of one media library in a repeater. it's not easy but possible, at least i think :)

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.