PageRenderTime 17ms CodeModel.GetById 14ms RepoModel.GetById 0ms 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. <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  4. <div>
  5. <asp:CheckBox ID="ProhibitDownload" runat="server" AutoPostBack="True"
  6. Checked="True" Text="Prohibit download" />
  7. &nbsp; (uncheck to allow)
  8. </div>
  9. <div>
  10. <asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label>
  11. </div>
  12. <iz:FileManager ID="FileManager1" runat="server" Height="400" Width="600"
  13. onfiledownload="FileManager1_FileDownload">
  14. <RootDirectories>
  15. <iz:RootDirectory DirectoryPath="~/Files/My Documents" Text="My Documents" />
  16. </RootDirectories>
  17. </iz:FileManager>
  18. </asp:Content>