Example 1: Adding FileManager control via tagPrefix
Example 2: Adding FileManager control programmatically
Example 3: Advanced features; events, user logic and subfolder permissions
Example 4: Multiple instances on the same page
Example 5: ModalDialog mode and showing/hiding the control via a button click



This example demonstrates adding FileManager control to the page by using <GleamTech:FileManager> tagPrefix:

Language:

ASP.NET File Manager


Here is the markup code which renders the control above:

    <GleamTech:FileManager ID="fileManager" runat="server"

                           Width="800"

                           Height="600"

                           LicenseKey=""

                           FullViewport="false"

                           UploadMethod="Flash">

 

        <RootFolders>

 

            <GleamTech:FileManagerRootFolder Name="Root Folder 1"

                                             Path="~/App_Data/RootFolder1"

                                             Permissions="Full" />

 

            <GleamTech:FileManagerRootFolder Name="Root Folder 2"

                                             Path="~/App_Data/RootFolder2"

                                             Permissions="Traverse, List, Download, Upload"

                                             Quota="2000 KB"

                                             AllowedFileTypes="*.jpg; *.gif" />

 

        </RootFolders>

    </GleamTech:FileManager>

 



Descriptions for the control properties:



Descriptions for the root folder properties:


Root folders which are to be defined/displayed within the control, are added by using <GleamTech:FileManagerRootFolder> tagPrefix inside the sub tag of the control <RootFolders>.