C# Class SimpleImageUpload_upload, ImageUpload

Inheritance: System.Web.UI.Page
Show file Open project: CodeCarvings/ImageUpload

Protected Properties

Property Type Description
btnUpload global::System.Web.UI.WebControls.Button
ddlDummyForceDoPostBackCreation global::System.Web.UI.WebControls.DropDownList
form1 global::System.Web.UI.HtmlControls.HtmlForm
fuFile global::System.Web.UI.WebControls.FileUpload
phMainContainer global::System.Web.UI.WebControls.PlaceHolder

Protected Methods

Method Description
GetKeyAdditionalData ( bool debugUploadProblems ) : string
OnPreRender ( EventArgs e ) : void
Page_Error ( object sender, EventArgs e ) : void
Page_Load ( object sender, EventArgs e ) : void
ValidateKey ( string key, string additionalData ) : bool
ValidateTemporaryFileId ( string temporaryFileId ) : bool
WriteUploadMonitorFile ( string temporaryFileId, int state, string message ) : void
btnUpload_Click ( object sender, EventArgs e ) : void

Method Details

GetKeyAdditionalData() protected method

protected GetKeyAdditionalData ( bool debugUploadProblems ) : string
debugUploadProblems bool
return string

OnPreRender() protected method

protected OnPreRender ( EventArgs e ) : void
e EventArgs
return void

Page_Error() protected method

protected Page_Error ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

ValidateKey() protected method

protected ValidateKey ( string key, string additionalData ) : bool
key string
additionalData string
return bool

ValidateTemporaryFileId() protected method

protected ValidateTemporaryFileId ( string temporaryFileId ) : bool
temporaryFileId string
return bool

WriteUploadMonitorFile() protected method

protected WriteUploadMonitorFile ( string temporaryFileId, int state, string message ) : void
temporaryFileId string
state int
message string
return void

btnUpload_Click() protected method

protected btnUpload_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

btnUpload protected property

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

ddlDummyForceDoPostBackCreation protected property

ddlDummyForceDoPostBackCreation control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList ddlDummyForceDoPostBackCreation
return global::System.Web.UI.WebControls.DropDownList

form1 protected property

form1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlForm form1
return global::System.Web.UI.HtmlControls.HtmlForm

fuFile protected property

fuFile control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.FileUpload fuFile
return global::System.Web.UI.WebControls.FileUpload

phMainContainer protected property

phMainContainer control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.PlaceHolder phMainContainer
return global::System.Web.UI.WebControls.PlaceHolder