Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
New to Telerik UI for ASP.NET AJAX? Download free 30-day trial
This example demonstrates how to use the RadFileExplorer's modes.
The possible mode values of the ExplorerMode property are:
<%@ Page Language="c#" CodeFile="DefaultCS.aspx.cs" AutoEventWireup="true" Inherits="Telerik.Web.Examples.FileExplorer.ShowFilesInTree.DefaultCS" %> <%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %> <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> <!DOCTYPE html> <html xmlns='http://www.w3.org/1999/xhtml'> <head runat="server"> <title>Telerik ASP.NET Example</title> </head> <body> <form id="form1" runat="server"> <telerik:RadScriptManager runat="server" ID="RadScriptManager1" /> <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" /> <div class="demo-container size-medium"> <telerik:RadFileExplorer RenderMode="Lightweight" runat="server" ID="RadFileExplorer1" Width="595px" Height="350px"> <Configuration ViewPaths="~/FileExplorer/Examples/Overview/images/" UploadPaths="~/FileExplorer/Examples/Overview/images/" DeletePaths="~/FileExplorer/Examples/Overview/images/"></Configuration> </telerik:RadFileExplorer> </div> <qsf:ConfiguratorPanel ID="Configuratorpanel1" runat="server"> <Views> <qsf:View> <asp:Label ID="Label1" runat="server">Change <strong>ExplorerMode</strong> property:</asp:Label> <asp:RadioButtonList ID="RadioButtonList1" runat="server" AutoPostBack="true"> <asp:ListItem Selected="True" Text="FileTree" Value="FileTree"></asp:ListItem> <asp:ListItem Text="Default" Value="Default"></asp:ListItem> </asp:RadioButtonList> </qsf:View> </Views> </qsf:ConfiguratorPanel> </form> </body> </html>