C# Class AjaxControlToolkit.AjaxFileUpload

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

Private Properties

Свойство Type Description
AreFileUploadParamsPresent bool
CombineUrl string
CreateChilds void
GenerateHtmlFooterContainer System.Web.UI.HtmlControls.HtmlGenericControl
GenerateHtmlSelectFileContainer System.Web.UI.HtmlControls.HtmlGenericControl
GenerateHtmlTopFileStatus System.Web.UI.HtmlControls.HtmlGenericControl
GetPhysicalPath string
HideElement void
ResolveUploadHandlerPath string
SetUploadedFilePath void

Méthodes publiques

Méthode Description
AjaxFileUpload ( ) : System
BuildRootTempFolder ( ) : string
BuildTempFolder ( string fileId ) : string
CleanAllTemporaryData ( ) : void
SaveAs ( string fileName ) : void

Saves the uploaded file with the specified file name

Méthodes protégées

Méthode Description
CreateChildControls ( ) : void
DescribeComponent ( System.Web.UI.ScriptComponentDescriptor descriptor ) : void
GenerateHtmlInputControls ( ) : string
OnInit ( EventArgs e ) : void
OnLoad ( EventArgs e ) : void

Private Methods

Méthode Description
AreFileUploadParamsPresent ( ) : bool
CombineUrl ( string part1, string part2 ) : string
CreateChilds ( ) : void
GenerateHtmlFooterContainer ( Control progressBar ) : System.Web.UI.HtmlControls.HtmlGenericControl
GenerateHtmlSelectFileContainer ( Control html5InputFileElement, Control inputFileElement ) : System.Web.UI.HtmlControls.HtmlGenericControl
GenerateHtmlTopFileStatus ( Control fileStatusContainer ) : System.Web.UI.HtmlControls.HtmlGenericControl
GetPhysicalPath ( string path ) : string
HideElement ( HtmlControl element ) : void
ResolveUploadHandlerPath ( string uploadHandlerPath ) : string
SetUploadedFilePath ( string path ) : void

Method Details

AjaxFileUpload() public méthode

public AjaxFileUpload ( ) : System
Résultat System

BuildRootTempFolder() public static méthode

public static BuildRootTempFolder ( ) : string
Résultat string

BuildTempFolder() public static méthode

public static BuildTempFolder ( string fileId ) : string
fileId string
Résultat string

CleanAllTemporaryData() public static méthode

public static CleanAllTemporaryData ( ) : void
Résultat void

CreateChildControls() protected méthode

protected CreateChildControls ( ) : void
Résultat void

DescribeComponent() protected méthode

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

GenerateHtmlInputControls() protected méthode

protected GenerateHtmlInputControls ( ) : string
Résultat string

OnInit() protected méthode

protected OnInit ( EventArgs e ) : void
e EventArgs
Résultat void

OnLoad() protected méthode

protected OnLoad ( EventArgs e ) : void
e EventArgs
Résultat void

SaveAs() public méthode

Saves the uploaded file with the specified file name
public SaveAs ( string fileName ) : void
fileName string Name of the file to save
Résultat void