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

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

Private Properties

Property Type Description

Public Methods

Method Description
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.

ScheduleBuilder ( ) : System

Initializes a new instance of the ScheduleBuilder class.

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.

OnInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event.

RegisterJavaScript ( ) : void

Registers the java script.

_btnShowPopup_Click ( object sender, EventArgs e ) : void

Handles the Click event of the _btnShowPopup control.

btnSaveSchedule_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSaveSchedule control.

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

OnInit() protected method

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
return void

RegisterJavaScript() protected method

Registers the java script.
protected RegisterJavaScript ( ) : void
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

ScheduleBuilder() public method

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

_btnShowPopup_Click() protected method

Handles the Click event of the _btnShowPopup control.
protected _btnShowPopup_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

btnSaveSchedule_Click() protected method

Handles the Click event of the btnSaveSchedule control.
protected btnSaveSchedule_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void