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

Inheritance: System.Web.UI.WebControls.CompositeControl, IRockControl
Afficher le fichier Open project: SparkDevNetwork/Rock Class Usage Examples

Private Properties

Свойство Type Description
RegisterJavaScript void

Méthodes publiques

Méthode Description
CalculateDateRangeFromDelimitedValues ( string delimitedValues ) : DateRange

Calculates the date range from delimited values.

DateRangePicker ( ) : System

Initializes a new instance of the DateRangePicker class.

FormatDelimitedValues ( string value ) : string

Formats the delimited values for display purposes

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.

TryParse ( string delimited, System.DateTime &lower, System.DateTime &upper ) : bool

Tries to parse the upper and lower DateTime from the delimited string

Méthodes protégées

Méthode 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

Méthode Description
RegisterJavaScript ( ) : void

Registers the java script.

Method Details

CalculateDateRangeFromDelimitedValues() public static méthode

Calculates the date range from delimited values.
public static CalculateDateRangeFromDelimitedValues ( string delimitedValues ) : DateRange
delimitedValues string The delimited values.
Résultat DateRange

CreateChildControls() protected méthode

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
Résultat void

DateRangePicker() public méthode

Initializes a new instance of the DateRangePicker class.
public DateRangePicker ( ) : System
Résultat System

FormatDelimitedValues() public static méthode

Formats the delimited values for display purposes
public static FormatDelimitedValues ( string value ) : string
value string The value.
Résultat string

RenderBaseControl() public méthode

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.
Résultat void

RenderControl() public méthode

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.
Résultat void

TryParse() public static méthode

Tries to parse the upper and lower DateTime from the delimited string
public static TryParse ( string delimited, System.DateTime &lower, System.DateTime &upper ) : bool
delimited string The delimited value
lower System.DateTime The lower value
upper System.DateTime The upper value
Résultat bool