C# Class Rock.Web.UI.Controls.FileUploader

Inheritance: System.Web.UI.WebControls.CompositeControl, IPostBackEventHandler, IRockControl
显示文件 Open project: NewSpring/Rock Class Usage Examples

Private Properties

Property Type Description
RegisterStartupScript void

Public Methods

Method Description
FileUploader ( ) : System

Initializes a new instance of the FileUploader class.

RaisePostBackEvent ( string eventArgument ) : void

When implemented by a class, enables a server control to process an event raised when a form is posted to the server.

RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void

This is where you implment the simple aspects of rendering your control. The rest will be handled by calling RenderControlHelper's RenderControl() method.

RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void

Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.

Protected Methods

Method Description
CreateChildControls ( ) : void

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.

Private Methods

Method Description
RegisterStartupScript ( ) : void

Registers the startup script.

Method Details

CreateChildControls() protected method

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
protected CreateChildControls ( ) : void
return void

FileUploader() public method

Initializes a new instance of the FileUploader class.
public FileUploader ( ) : System
return System

RaisePostBackEvent() public method

When implemented by a class, enables a server control to process an event raised when a form is posted to the server.
public RaisePostBackEvent ( string eventArgument ) : void
eventArgument string A that represents an optional event argument to be passed to the event handler.
return void

RenderBaseControl() public method

This is where you implment the simple aspects of rendering your control. The rest will be handled by calling RenderControlHelper's RenderControl() method.
public RenderBaseControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
return void

RenderControl() public method

Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
public RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The object that receives the control content.
return void