PageRenderTime 102ms CodeModel.GetById 50ms app.highlight 1ms RepoModel.GetById 49ms app.codeStats 0ms

/Demo/FileDownload.aspx

http://izwebfilemanager.googlecode.com/
ASP.NET | 20 lines | 18 code | 2 blank | 0 comment | 0 complexity | e8bc67dc14cd407060c589db403e4c35 MD5 | raw file
 1<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="FileDownload.aspx.cs" Inherits="FileDownload" %>
 2<%@ Register Assembly="IZ.WebFileManager" Namespace="IZ.WebFileManager" TagPrefix="iz" %>
 3
 4<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 5<div>
 6	<asp:CheckBox ID="ProhibitDownload" runat="server" AutoPostBack="True" 
 7		Checked="True" Text="Prohibit download" />
 8&nbsp; (uncheck to allow)
 9</div>
10<div>
11<asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label>
12</div>
13		<iz:FileManager ID="FileManager1" runat="server" Height="400" Width="600" 
14			onfiledownload="FileManager1_FileDownload">
15			<RootDirectories>
16				<iz:RootDirectory DirectoryPath="~/Files/My Documents" Text="My Documents" />
17			</RootDirectories>
18		</iz:FileManager>
19</asp:Content>
20