C# Class HTML.fileview

Afficher le fichier Open project: Ider/SU-Courses

Protected Properties

Свойство Type Description
Label1 global::System.Web.UI.WebControls.Label
Label2 global::System.Web.UI.WebControls.Label
btnSubmit global::System.Web.UI.WebControls.Button
hfFileName global::System.Web.UI.WebControls.HiddenField
hfIsFolder global::System.Web.UI.WebControls.HiddenField
lblContent global::System.Web.UI.WebControls.Label
lblCurPath global::System.Web.UI.WebControls.Label
litASPX global::System.Web.UI.WebControls.Literal
litContent global::System.Web.UI.WebControls.Literal
litCsharp global::System.Web.UI.WebControls.Literal
litList global::System.Web.UI.WebControls.Literal

Méthodes protégées

Méthode Description
Page_Load ( object sender, EventArgs e ) : void
btnSubmit_Click ( object sender, EventArgs e ) : void

Private Methods

Méthode Description
AppendFilesInfo ( string path, StringBuilder sb ) : void
AppendFoldersInfo ( string path, StringBuilder sb ) : void
AppendParentFolderInfo ( string path, StringBuilder sb ) : void
AppendTableHead ( StringBuilder sb ) : void
GetFormatedLink ( string name ) : string

Get formated elemnt for parent folder

GetFormatedLink ( string name, bool isFolder ) : string
GetTableRowFormat ( ) : string
HTMLEncode ( string text ) : string
IsImageFile ( string name ) : bool
LoadFile ( string path ) : void
LoadFilesAndFolders ( string path ) : void

Load the files and directories name under current directory

LoadImage ( string path ) : void
ResetControls ( ) : void
SetContent ( string content ) : void
ShowError ( Exception ex ) : void

Method Details

Page_Load() protected méthode

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void

btnSubmit_Click() protected méthode

protected btnSubmit_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void

Property Details

Label1 protected_oe property

Label1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label Label1
Résultat global::System.Web.UI.WebControls.Label

Label2 protected_oe property

Label2 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label Label2
Résultat global::System.Web.UI.WebControls.Label

btnSubmit protected_oe property

btnSubmit control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button btnSubmit
Résultat global::System.Web.UI.WebControls.Button

hfFileName protected_oe property

hfFileName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HiddenField hfFileName
Résultat global::System.Web.UI.WebControls.HiddenField

hfIsFolder protected_oe property

hfIsFolder control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HiddenField hfIsFolder
Résultat global::System.Web.UI.WebControls.HiddenField

lblContent protected_oe property

lblContent control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblContent
Résultat global::System.Web.UI.WebControls.Label

lblCurPath protected_oe property

lblCurPath control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblCurPath
Résultat global::System.Web.UI.WebControls.Label

litASPX protected_oe property

litASPX control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal litASPX
Résultat global::System.Web.UI.WebControls.Literal

litContent protected_oe property

litContent control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal litContent
Résultat global::System.Web.UI.WebControls.Literal

litCsharp protected_oe property

litCsharp control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal litCsharp
Résultat global::System.Web.UI.WebControls.Literal

litList protected_oe property

litList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal litList
Résultat global::System.Web.UI.WebControls.Literal