C# 클래스 Rock.Web.UI.Controls.SlidingDateRangePicker

상속: System.Web.UI.WebControls.CompositeControl, IRockControlAdditionalRendering
파일 보기 프로젝트 열기: NewSpring/Rock 1 사용 예제들

Private Properties

프로퍼티 타입 설명
PopulateDropDowns void

공개 메소드들

메소드 설명
CalculateDateRangeFromDelimitedValues ( string value ) : DateRange

Calculates the date range from delimited values in format SlidingDateRangeType|Number|TimeUnitType|StartDate|EndDate NOTE: The Displayed End Date is one day before the actual end date. So, if your date range is displayed as 1/3/2015 to 1/4/2015, this will return 1/5/2015 12:00 AM as the End Date

FormatDelimitedValues ( string value ) : string

Formats the delimited values as a phrase such as "Last 14 Days"

GetHelpHtml ( System.DateTime currentDateTime ) : string

Gets the help HTML that explains usage of the SlidingDateRange picker with examples

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

Renders content after the label.

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

Renders the base control.

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.

SetDateRangeModeValue ( DateRange value ) : void

Sets the date range mode value.

SlidingDateRangePicker ( ) : System

Initializes a new instance of the SlidingDateRangePicker class.

보호된 메소드들

메소드 설명
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.

ddl_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the dropdown list controls.

비공개 메소드들

메소드 설명
PopulateDropDowns ( ) : void

Populates the drop downs.

메소드 상세

CalculateDateRangeFromDelimitedValues() 공개 정적인 메소드

Calculates the date range from delimited values in format SlidingDateRangeType|Number|TimeUnitType|StartDate|EndDate NOTE: The Displayed End Date is one day before the actual end date. So, if your date range is displayed as 1/3/2015 to 1/4/2015, this will return 1/5/2015 12:00 AM as the End Date
public static CalculateDateRangeFromDelimitedValues ( string value ) : DateRange
value string The value.
리턴 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

FormatDelimitedValues() 공개 정적인 메소드

Formats the delimited values as a phrase such as "Last 14 Days"
public static FormatDelimitedValues ( string value ) : string
value string The value.
리턴 string

GetHelpHtml() 공개 정적인 메소드

Gets the help HTML that explains usage of the SlidingDateRange picker with examples
public static GetHelpHtml ( System.DateTime currentDateTime ) : string
currentDateTime System.DateTime The current date time.
리턴 string

RegisterJavaScript() 보호된 메소드

Registers the java script.
protected RegisterJavaScript ( ) : void
리턴 void

RenderAfterLabel() 공개 메소드

Renders content after the label.
public RenderAfterLabel ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The writer.
리턴 void

RenderBaseControl() 공개 메소드

Renders the base control.
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

SetDateRangeModeValue() 공개 메소드

Sets the date range mode value.
public SetDateRangeModeValue ( DateRange value ) : void
value DateRange The value.
리턴 void

SlidingDateRangePicker() 공개 메소드

Initializes a new instance of the SlidingDateRangePicker class.
public SlidingDateRangePicker ( ) : System
리턴 System

ddl_SelectedIndexChanged() 보호된 메소드

Handles the SelectedIndexChanged event of the dropdown list controls.
protected ddl_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
리턴 void