C# Class AjaxControlToolkit.AjaxFileUpload

Inheritance: ScriptControlBase
Mostrar archivo Open project: DevExpress/AjaxControlToolkit Class Usage Examples

Private Properties

Property 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

Public Methods

Method Description
AjaxFileUpload ( ) : System
BuildRootTempFolder ( ) : string
BuildTempFolder ( string fileId ) : string
CleanAllTemporaryData ( ) : void
SaveAs ( string fileName ) : void

Saves the uploaded file with the specified file name

Protected Methods

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

Private Methods

Method 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 method

public AjaxFileUpload ( ) : System
return System

BuildRootTempFolder() public static method

public static BuildRootTempFolder ( ) : string
return string

BuildTempFolder() public static method

public static BuildTempFolder ( string fileId ) : string
fileId string
return string

CleanAllTemporaryData() public static method

public static CleanAllTemporaryData ( ) : void
return void

CreateChildControls() protected method

protected CreateChildControls ( ) : void
return void

DescribeComponent() protected method

protected DescribeComponent ( System.Web.UI.ScriptComponentDescriptor descriptor ) : void
descriptor System.Web.UI.ScriptComponentDescriptor
return void

GenerateHtmlInputControls() protected method

protected GenerateHtmlInputControls ( ) : string
return string

OnInit() protected method

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

OnLoad() protected method

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

SaveAs() public method

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