Images\Articles
VisualStudio_vNext.png 
Images\Cart
addtocart.gif go.gif OnlineStore.gif 
Images\Chess\Style1
bb.png bk.png bn.png bp.png bq.png br.png clear.png wb.png wk.png wn.png wp.png wq.png wr.png 
Images\Chess\Style2
bB.png bK.png bN.png bP.png bQ.png bR.png wB.png wK.png wN.png wP.png wQ.png wR.png 
Images\Chess\Style3
bb.gif bk.gif bn.gif bp.gif bq.gif br.gif wb.gif wk.gif wn.gif wp.gif wq.gif wr.gif 
Images\DeepTree
ftv2blank.gif ftv2doc.gif ftv2folderclosed.gif ftv2folderopen.gif ftv2lastnode.gif ftv2mlastnode.gif ftv2mnode.gif ftv2node.gif ftv2plastnode.gif ftv2pnode.gif ftv2transBlock.gif ftv2vertline.gif 
Images\Design
JSW.gif 
Images\Exercise
airbike.gif crunches.gif jack_knives.gif twistingcrunches.gif twistinglegraises.gif 
Images\Grid
DownArrow.gif PgBlock.gif PgFirst.gif PgLast.gif PgNext.gif PgPrev.gif Search3.gif UpArrow.gif 
Images\Money
bond1.gif bond2.gif bond3.gif bond4.gif bond5.gif 
Images\NorthWind
NorthWindRelationalModel.gif 
Images\Picture
waterfall.gif 
Images\products
book.png calc.gif cart.gif codesample.png igspl_CollapseUpHover.gif igspl_ExpandDownHover.gif jht0329.gif jmt0920.gif jos0828.gif jrs1221.gif KO.png logo_mvc.png Main.gif project.gif script.gif sheet.gif tools.gif utility.gif VisualStudio_vNext.png white.gif Windows.png 
Images\Tabs
tabactive-left.gif tabactive-middle.gif tabactive-right.gif tabinactive-left.gif tabinactive-middle.gif tabinactive-right.gif 
Images\Theme
download.gif logo.gif reddiamond.gif totd.gif word.gif 
Images
accent.png a_scroll_down.gif a_scroll_up.gif bullet.png button.gif close.gif dot.gif hecanim.gif heroAccent.png icon.gif max.gif min.gif mplogbut.gif orderedList0.png orderedList1.png orderedList2.png orderedList3.png orderedList4.png orderedList5.png orderedList6.png orderedList7.png orderedList8.png orderedList9.png popButton0.gif popButton1.gif popButton2.gif qball.gif r2lhoriz.gif RUP.gif size.gif T.gif T1.gif T2.gif T3.gif T4.gif T5.gif T6.gif T7.gif waterfall.gif xball.gif zball.gif 
debugScroll
    <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 showing the innerHTML of the fileList [Object] Control
This display does not do it, but toggleDirectory should be injected into fileList.InnerHtml in the code behind.
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
» MVC Home