The Anchors For FileList Follows. Should really create an image display variant program.
Manual
Accordian.html asc.gif bg.gif ConversionReport.html ConversionReport_Minus.gif ConversionReport_Plus.gif Default.htm desc.gif DeveloperAid.html FilterFindAndEdit.html Item0001.htm Item0002.htm Item0003.htm Item0004.htm jK_CodeForm.htm jK_DynamicForm.html jK_extender.htm jK_FriendsForm.htm jK_GiftAjaxSave.htm jK_GiftBasic.htm jK_mouseOut.htm jK_mouseOver.htm jK_Planets.htm jQ_CodeInsert.htm jQ_CodeRemove.htm jQ_CodeReplace.htm jQ_PlugIn.htm jQ_Valid.html jQ_Validation.html knockoutDATA_BIND.html knockoutForm.html modelKnockOut.html pageWriter.html sampleCartEditor.htm seatReservation.html showNorthWind.htm showTSIMessages.html TableSorter.html ToolsSDK.htm TSIMessaging.html tsi_idl_2008.xml UpgradeReport.xslt UpgradeReport_Minus.gif UpgradeReport_Plus.gif 
The FileList Above
    <div id="fileList" runat="server"></div> 

    <script type="text/javascript">
            function debugScroll() {
                var obj = document.getElementById("fileList");
                alert(obj.innerHTML);
            }
    </script>

    protected   string directoryPath = "../Images/";
    public System.Web.UI.HtmlControls.HtmlGenericControl fileList;
    fileList.InnerHtml = "";
If you click the debugScroll prompt an alert box pops up attempting to show the innerHTML of the fileList [Object] Control
The recursive DisplayDirectoryInformation() method function applies a filter file extention list as follows:
string[] extentions = { ".aspx", ".htm", ".html", ".jar", ".gif", ".png", ".xml", ".xslt", ".doc", ".xls", ".cshtml" };
See also ▶Directory List where a toggleDirectory javascript function is injected into fileList.InnerHtml in the code behind.
debugScroll
» MVC Home