PageRenderTime 101ms CodeModel.GetById 40ms app.highlight 2ms RepoModel.GetById 58ms app.codeStats 0ms

/Demo/RootDirectories.aspx.cs

http://izwebfilemanager.googlecode.com/
C# | 24 lines | 21 code | 3 blank | 0 comment | 0 complexity | da386f3b8f5dcf9a21e66b8b355e0be0 MD5 | raw file
 1using System;
 2using System.Data;
 3using System.Configuration;
 4using System.Collections;
 5using System.Web;
 6using System.Web.Security;
 7using System.Web.UI;
 8using System.Web.UI.WebControls;
 9using System.Web.UI.WebControls.WebParts;
10using System.Web.UI.HtmlControls;
11using IZ.WebFileManager;
12
13public partial class RootDirectories : System.Web.UI.Page
14{
15	protected void Page_Load (object sender, EventArgs e) {
16
17		FileManager1.RootDirectories.Clear ();
18		RootDirectory rootDirectory = new RootDirectory ();
19		rootDirectory.DirectoryPath = DirectoryManager.GetRootDirectoryPath (Context);
20		rootDirectory.Text = "My Documents";
21		FileManager1.RootDirectories.Add (rootDirectory);
22
23	}
24}