MindFusion.UI for WebForms Programmer's Guide

DatePicker Members

Constructors Properties Methods Events
 


Represents a date picker control.

The following tables list the members exposed by the DatePicker type.

 Public Constructors

  Name Description

DatePicker

Initializes a new instance of the DatePicker class.

 Public Properties

  Name Description

AllowEmptyInput

Gets or sets a value, indicating whether empty input will be considered valid.

AutoComplete

Gets or sets a value indicating whether the control will try to parse an incomplete date value. E.g. if the input is '1/7' (and Culture="en-US") to parse the value as 7th Jan of the current year.

AutoPostBack

Gets or sets a value indicating whether the control will post back to the server when the value has changed.

ControlLoadedScript

Gets or sets the name of a JavaScript function that should be invoked when the control is loaded.

Culture

Gets or sets the culture of the control.

CustomDateFormat

Gets or sets the formatting of the date displayed in the control.

DatePartSelect

Gets or sets a value indicating whether date part selection is enabled.

Height

Gets or sets the height of the control.

MaxDate

Gets or sets the maximum possible date value.

MinDate

Gets or sets the minimum possible date value.

PopupAlignRight

Gets or sets a value indicating whether the popup calendar should align to the right side of the control.

PopupAlignTop

Gets or sets a value indicating whether the popup calendar should align to the upper side of the control.

PopupClosingScript

Gets or sets the name of a JavaScript function that should be invoked when the control's popup is about to be closed.

PopupOpeningScript

Gets or sets the name of a JavaScript function that should be invoked when the control's popup is about to be opened.

ShowButton

Gets or sets a value indicating whether the calendar button is visible

SubmitOnEnter

Gets or sets a value indicating whether the control will submit the form on pressing the Enter key.

TextAlignment

Gets or sets the alignment of the text inside the control.

Theme

Gets or sets the theme applied to the control.

ValidationStateChangedScript

Gets or sets the name of a JavaScript function that should be invoked when the validation state of the control changes.

Value

Gets or sets the value of the control.

ValueChangedScript

Gets or sets the name of a JavaScript function that should be invoked when the value changes

ValueInvalidScript

Gets or sets the name of a JavaScript function that should be invoked when the date input is invalid.

Width

Gets or sets the width of the control.

 Public Methods

  Name Description

LoadPostData

When implemented by a derived class, processes postback data for an ASP.NET server control.

RaisePostDataChangedEvent

When implemented by a derived class in the server control notifies the ASP.NET application that the state of the control has changed.

 Protected Methods

  Name Description

OnPreRender

Control.OnPreRender override.

OnValueChanged

Raises the ValueChanged event.

Render

Control.Render override.

RenderContents

WebControl.RenderContents override.

 Public Events

  Name Description

ValueChanged

Raised when the value changes.

 See Also