I have one application page with one dropdownlist which needs to be filled with the folders from one document library
The library has this structure
Folder1 Folder1.1 Folder1.2 Folder2 Folder2.1 Folder2.1.1 Folder2.1.2
I would like to fill a dropdown list with the folder list in a hierarchical way if possible. It has to be server side code, not client side code.
I found something might be useful to me but it wont return the results as I want http://ranaictiu-technicalblog.blogspot.com/2010/03/sharepoint-2010-manage.html
Any idea what should I do?