ComponentOne FileExplorer for ASP.NET Web Forms
Explore Features / Multiple File Selection
In This Topic
    Multiple File Selection
    In This Topic

    Use the AllowMultipleSelection property to enable or disable multiple file selection in the file browser. By default  AllowMultipleSelection is set to False.

    In the Designer

    1. In Visual Studio, right click FileExplorer and select Properties.
    2. In the Properties Window, set AllowMultipleSelection to True to enable multiple selection.

    In Source View

    Set the AllowMultipleSelection property in the <cc1:C1FileExplorer> tag, to enable or disable multiple file selection.

    <cc1:C1FileExplorer ID="C1FileExplorer1" runat="server" ViewPaths="Example" AllowMultipleSelection="True">
    

    In Code

    Add the following code to the Page_Load event, to enable or disable multiple file selection.

    To write code in C#

    C1FileExplorer1.AllowMultipleSelection = true;
    

    To write code in Visual Basic

    C1FileExplorer1.AllowMultipleSelection = True
    

    What You've Accomplished

    When you run the project, press the Ctrl button and click the files and folders that you want to select.