I recently received an email from a visitor who wanted to know what he could do when
the number of files in a directory got too large to be easily browsed via our
original directory listing sample. The only things I
could come up with were maybe splitting the results into multiple pages (which
didn't really seem like it would help much) or letting users narrow the number
of displayed files by filtering the files based on file name.
Well that's what this sample does.
On first run it displays all the files, but it also provides a text box where
you can enter part or all of a file name and get back a list of only the files
whose names contain the text you entered. For searches you might be performing
frequently, I've also shown some examples of how you can simply create hyperlinks
to different result sets.