C# Класс Rock.Web.UI.Controls.DateRangePicker

Наследование: System.Web.UI.WebControls.CompositeControl, IRockControl
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
RegisterJavaScript void

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
RegisterJavaScript ( ) : void

Registers the java script.

Описание методов

CalculateDateRangeFromDelimitedValues() публичный статический Метод

Calculates the date range from delimited values.
public static CalculateDateRangeFromDelimitedValues ( string delimitedValues ) : DateRange
delimitedValues string The delimited values.
Результат DateRange

CreateChildControls() защищенный Метод

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
Результат void

DateRangePicker() публичный Метод

Initializes a new instance of the DateRangePicker class.
public DateRangePicker ( ) : System
Результат System

FormatDelimitedValues() публичный статический Метод

Formats the delimited values for display purposes
public static FormatDelimitedValues ( string value ) : string
value string The value.
Результат string

RenderBaseControl() публичный Метод

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.
Результат void

RenderControl() публичный Метод

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.
Результат void

TryParse() публичный статический Метод

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
Результат bool