Example 1: Adding FileVistaControl via tagPrefix
Example 2: Adding FileVistaControl programmatically
Example 3: Advanced features; events, user logic and subfolder permissions


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

Language:



Here is the markup code which renders the control above:

<GleamTech:FileVistaControl ID="FileVistaControl" runat="server"

                            Style="width: 800px; height: 600px"

                            Language="en-US"

                            LicenseKey=""

                            Debug="false"

                            Fullscreen="false"

                            UploadMethod="Flash">

 

    <RootFolders>

 

        <GleamTech:FileVistaRootFolder Name="Root Folder 1"

                                       Path="C:\TestFolder\filevistacontrol\RootFolder1"

                                       Permissions="Full" />

 

        <GleamTech:FileVistaRootFolder Name="Root Folder 2"

                                       Path="C:\TestFolder\filevistacontrol\RootFolder2"

                                       Permissions="Traverse, List, Download, Upload"

                                       Quota="2000 KB"

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

 

    </RootFolders>

</GleamTech:FileVistaControl>



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:FileVistaRootFolder> tagPrefix inside the sub tag of the control <RootFolders>.