Scenario : Sharepoint 2010 foundation site with a document library. The library has many folders (and probably sub-folders in each folder). There are files in these folders/sub-folders.
I am looking to get all the filenames that have certain criteria (ex: begins with "MYFILE").
so two questions here
a) How to traverse through every folder (and sub-folder) to find the filename. All I am bothered about is the filename but when I show them I would like to provide hyperlink such that they can click on it.
b) I would like to show all the files from the search in a kind of gridview. What's the best approach.
I need to deploy this on a out-of-box ASPX page which has no ".cs" associated to it.