Manual
Accordian.htmlAccordianJScss.htmlasc.gifbg.gifCartEditor.htmDefault.htmdesc.gifDeveloperAid.htmlDynamicDataSite.htmDynamic_OK.htmlFilterFindAndEdit.htmFilterFindAndEdit.htmlItem0001.htmItem0002.htmItem0003.htmItem0004.htmjK_CodeForm.htmjK_CodeFormA.htmjK_CodeFormB.htmjK_CodeFormC.htmjK_CodeFormD.htmjK_CodeFormE.htmjK_CodeFormF.htmjK_CodeFormV.htmjK_CodeFormW.htmjK_CodeFormX.htmjK_CodeFormY.htmjK_CodeFormY1.htmjK_CodeFormZ.htmjK_DynamicForm.htmljK_extender.htmjK_FriendsForm.htmjK_GiftAjaxSave.htmjK_GiftBasic.htmjK_mouseOut.htmjK_mouseOver.htmjK_Planets.htmjQui_Accordian.htmljQ_CodeInsert.htmjQ_CodeMenu.htmjQ_CodeRemove.htmjQ_CodeReplace.htmjQ_CodeScrumBoard.htmjQ_PlugIn.htmjQ_Validation.htmlknockoutDATA_BIND.htmlknockoutForm.htmlLocalDatabaseWP7.htmmanual_Java.htmmodelKnockOut.htmlOrders.htmPage1.htmpageWriter.htmlsampleCartEditor.htmseatReservation.htmlshowNorthWind.htmtablesorter.htmTableSorter.htmlToolsSDK.htmTSIMessaging.htmltsi_idl_2008.xmlUpgradeReport.xsltUpgradeReport_Minus.gifUpgradeReport_Plus.gifUpgrading_SignalR 1_x Projects_to_version_2_The_ASP_NET Site.htm_jK_CodeFormW.htm

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
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.
» MVC Home