C# Class AjaxControlToolkit.AsyncFileUpload

Inheritance: ScriptControlBase
Afficher le fichier Open project: DevExpress/AjaxControlToolkit Class Usage Examples

Private Properties

Свойство Type Description
CreateChilds void
PopulateObjectPriorToRender void
ReceivedFile void

Méthodes publiques

Méthode Description
AsyncFileUpload ( ) : System
ClearAllFilesFromPersistedStore ( ) : void

Clears all uploaded files of a current control from session.

ClearFileFromPersistedStore ( ) : void

Clears all uploaded files of current control from session

GetBytesFromStream ( Stream stream ) : byte[]
SaveAs ( string fileName ) : void

Saves the content of an uploaded file.

Méthodes protégées

Méthode Description
CreateChildControls ( ) : void
CreateControlStyle ( ) : System.Web.UI.WebControls.Style
DescribeComponent ( System.Web.UI.ScriptComponentDescriptor descriptor ) : void
GenerateHtmlInputFileControl ( string lastFileName ) : string
GenerateHtmlInputHiddenControl ( ) : string
OnPreRender ( EventArgs e ) : void
OnUploadedComplete ( AsyncFileUploadEventArgs e ) : void
OnUploadedFileError ( AsyncFileUploadEventArgs e ) : void

Private Methods

Méthode Description
CreateChilds ( ) : void
PopulateObjectPriorToRender ( string controlId ) : void
ReceivedFile ( string sendingControlID ) : void

Method Details

AsyncFileUpload() public méthode

public AsyncFileUpload ( ) : System
Résultat System

ClearAllFilesFromPersistedStore() public méthode

Clears all uploaded files of a current control from session.
public ClearAllFilesFromPersistedStore ( ) : void
Résultat void

ClearFileFromPersistedStore() public méthode

Clears all uploaded files of current control from session
public ClearFileFromPersistedStore ( ) : void
Résultat void

CreateChildControls() protected méthode

protected CreateChildControls ( ) : void
Résultat void

CreateControlStyle() protected méthode

protected CreateControlStyle ( ) : System.Web.UI.WebControls.Style
Résultat System.Web.UI.WebControls.Style

DescribeComponent() protected méthode

protected DescribeComponent ( System.Web.UI.ScriptComponentDescriptor descriptor ) : void
descriptor System.Web.UI.ScriptComponentDescriptor
Résultat void

GenerateHtmlInputFileControl() protected méthode

protected GenerateHtmlInputFileControl ( string lastFileName ) : string
lastFileName string
Résultat string

GenerateHtmlInputHiddenControl() protected méthode

protected GenerateHtmlInputHiddenControl ( ) : string
Résultat string

GetBytesFromStream() public méthode

public GetBytesFromStream ( Stream stream ) : byte[]
stream Stream
Résultat byte[]

OnPreRender() protected méthode

protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnUploadedComplete() protected méthode

protected OnUploadedComplete ( AsyncFileUploadEventArgs e ) : void
e AsyncFileUploadEventArgs
Résultat void

OnUploadedFileError() protected méthode

protected OnUploadedFileError ( AsyncFileUploadEventArgs e ) : void
e AsyncFileUploadEventArgs
Résultat void

SaveAs() public méthode

Saves the content of an uploaded file.
public SaveAs ( string fileName ) : void
fileName string Uploaded file name
Résultat void