Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

DatePicker Members

DatePicker overview

Public Instance Constructors

DatePicker Constructor Creates an instance of DatePicker.

Public Instance Properties

AbbreviatedDayNames (inherited from Calendar) Specifies an array of strings containing the culture-specific abbreviated names of the days in a week, started from Sunday.
AbbreviatedMonthNames (inherited from Calendar) Specifies an array of strings containing the culture-specific abbreviated names of the months, started from January.
AccessKey (inherited from WebControl)Gets or sets the access key that allows you to quickly navigate to the Web server control.
AllowMultiSelect (inherited from Calendar) Gets or sets a boolean value to allow multiple selection on client side.
AMDesignator Gets or sets the A.M. designator.
AppRelativeTemplateSourceDirectory (inherited from Control)Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control.
Attributes (inherited from WebControl)Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control.
AutoPostbackOnScroll (inherited from Calendar) Specifies if Calendar should raise postback Scroll event to server when Calendar switches current month.
AutoPostbackOnSelect (inherited from Calendar) Specifies if Calendar should raise postback SelectionChanged event to server when a day is selected.
BorderImages (inherited from WebControl) Provides a list of images used to create customized borders for the control.
CalendarStyle (inherited from Calendar) Gets or sets the style properties for the Calendar control.
ClientID (inherited from Control)Gets the server control identifier generated by ASP.NET.
ClientSideOnBlur Specifies the name of client side JavaScript function which is called when calendar loses focus.
ClientSideOnChange (inherited from Calendar) Specifies the name of client side JavaScript function which is called when current selected date changes.
ClientSideOnError (inherited from WebControlBase) Gets or sets the name of the JavaScript function that is called when an error occurs on client side.
ClientSideOnEvalVar (inherited from WebControl) Specifies the name of client side JavaScript function which is called when a variable needs to be evaluated in a client template.
ClientSideOnFocus Specifies the name of client side JavaScript function which is called when calendar receives focus.
ClientSideOnLoad (inherited from WebControlBase) Gets or sets the name of the JavaScript function that is called when the control is loaded on the client side.
ClientSideOnMessage (inherited from WebControlBase) Gets or sets the name of the JavaScript function that is called when the control displays a message.
ClientSideOnScroll (inherited from Calendar) Specifies the name of client side JavaScript function which is called when calendar switches to another month.
ClientSideOnSelect (inherited from Calendar) Specifies the name of client side JavaScript function which is called when end user selects a day by clicking on the day cell in browser.
ClientSideOnUnload (inherited from WebControlBase) Gets or sets the name of the JavaScript function that is called when the control is unloaded on the client side.
Controls (inherited from Control)Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.
ControlSkinID (inherited from WebControl) Specifies the ID of the skin used by this control.
ControlStyle (inherited from WebControl)Gets the style of the Web server control. This property is used primarily by control developers.
ControlStyleCreated (inherited from WebControl)Gets a value indicating whether a Style object has been created for the ControlStyle property. This property is primarily used by control developers.
CssBlock (inherited from WebControl) Specifies the CSS style definition used by this control.
CssFile (inherited from WebControl) Specifies the path of an external CSS file that provides CSS styles used by this control.
DayCellHeight (inherited from Calendar) Specifies the height (in pixel) of a day cell.
DayCellSpacing (inherited from Calendar) Specifies the space (in pixel) between each day cell. This property is ignored if GridLineVisible property is true.
DayCellWidth (inherited from Calendar) Specifies the width (in pixel) of a day cell.
DayHeaderFormat (inherited from Calendar) Specifies which format of day name to display in day header area.
DayHeaderStyle (inherited from Calendar) Specifies the appearance setting for day header area.
DayHeaderVisible (inherited from Calendar) Use this property to specify if day header area is visible for each month.
DayHoverStyle (inherited from Calendar) Specifies the appearance setting of a day cell when mouse is positioned over it.
DayNames (inherited from Calendar) Specifies an array of strings containing the culture-specific full names of the days of the week, started from Sunday.
DayStyle (inherited from Calendar) Specifies the appearance settings for a day cell.
DesignOptions (inherited from WebControl) Contains options used for design time preview.
DisabledDates (inherited from Calendar) Gets or sets a collection of dates to which DisabledDayStyle will be applied.
DisabledDayStyle (inherited from Calendar) Specifies the appearance setting of day cells that belong to DisabledDates.
DisableTextBox Gets or sets whether the text box should be disabled.
DisableWeekendDays (inherited from Calendar) Gets or sets a boolean value to enable/disable weekend day cells.
Enabled (inherited from WebControl)Gets or sets a value indicating whether the Web server control is enabled.
EnableKeyboardNavigation (inherited from WebControl) Gets or sets a value indicating whether keyboard navigation should be enabled.
EnableOtherMonthDays (inherited from Calendar) Gets or sets a boolean value to enable/disable day cells that do not belong to the current month.
EnableTheming (inherited from WebControl)Gets or sets a value indicating whether themes apply to this control.
EnableViewState (inherited from Control)Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client.
FirstDayOfWeek (inherited from Calendar) Specifies which day in a week should be displayed as the first day of the week.
FirstMonth (inherited from Calendar) FirstMonth and LastMonth define the visible date range for the calendar. The calendar does not display dates beyond the specified range.
FooterTemplate (inherited from Calendar) Specifies any customized HTML to be displayed in a calendar's footer area.
ForceSSL (inherited from WebControl) Gets or sets a value indicating whether the server should work as if it were always running on a secure server (https).
GridLineColor (inherited from Calendar) Specifies the color of grid lines that separate each day cell in a month.
GridLineFrameVisible (inherited from Calendar) When GridLineVisible is true, use this property to show/hide the frame of grid lines for each month.
GridLineVisible (inherited from Calendar) Specifies if grid lines that separate each day cell in a month is visible.
HasAttributes (inherited from WebControl)Gets a value indicating whether the control has attributes set.
ID (inherited from Control)Gets or sets the programmatic identifier assigned to the server control.
ImageBaseDirectory (inherited from WebControl) Gets or sets the folder that contains images for the control.
LastMonth (inherited from Calendar) FirstMonth and LastMonth define the visible date range for the calendar. The calendar does not display dates beyond the specified range.
MaxValidDate (inherited from Calendar) MinValidDate and MaxValidDate define the valid range for the calendar. Days that are out of this range will apply OutOfRangeDayStyle or DisabledDayStyle.
MinValidDate (inherited from Calendar) MinValidDate and MaxValidDate define the valid range for the calendar. Days that are out of this range will apply OutOfRangeDayStyle or DisabledDayStyle.
MonthColumns (inherited from Calendar) Specifies number of month columns displayed in the Calendar.
MonthGridLineColor (inherited from Calendar) When MonthGridLineVisible property is true, use this property to specify the color of grid line.
MonthGridLineFrameVisible (inherited from Calendar) When MonthGridLineVisible property is true, use this property to show/hide the frame of grid lines.
MonthGridLineVisible (inherited from Calendar) Use this property to show/hide the grid lines that separate month cell in a multi-month calendar.
MonthNames (inherited from Calendar) Specifies an array of strings containing the culture-specific names of the months, started from January.
MonthRows (inherited from Calendar) Specifies the number of month rows displayed in the Calendar.
MonthSelectorHtml (inherited from Calendar) Specifies the html to display for the month selector.
MonthSelectorImageHeight (inherited from Calendar) Specifies the height (in pixel) of the month selector image which is specified by MonthSelectorImageUrl.
MonthSelectorImageUrl (inherited from Calendar) Specifies the url of the month selector image.
MonthSelectorImageWidth (inherited from Calendar) Specifies the width (in pixel) of the month selector image which is specified by MonthSelectorImageUrl.
MonthSelectorStyle (inherited from Calendar) Specifies the appearance style of the month selector.
MonthSelectorVisible (inherited from Calendar) Specifies if month selector is visible. Month selector is used to select the whole month.
MonthStyle (inherited from Calendar) Specifies appearance style for area that displays month.
MonthTitleStyle (inherited from Calendar) Specifies the appearance settings for month title area. Applies to Calendar with multiple month
MonthTitleVisible (inherited from Calendar) When a Calendar displayes multiple months in one page, use this property to specify if month title area is visible for each month.
MultiSelectModifier (inherited from Calendar) Gets or sets the modifier key for selecting multiple dates in the Calendar.
NamingContainer (inherited from Control)Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same ID property value.
OtherMonthDayStyle (inherited from Calendar) When OtherMonthDayVisible is true, use this property to specify the appearance for day cells that do not belong to current month.
OtherMonthDayVisible (inherited from Calendar) Gets or sets a boolean value to show/hide day cells that do not belong to current month.
OutOfRangeDayStyle (inherited from Calendar) Specifies the appearance setting for day cells which dates are either before MinValidDate or after MaxValidDate.
Parent (inherited from Control)Gets a reference to the server control's parent control in the page control hierarchy.
PickerFormat Specifies the format of the selected dates to display on the picker TextBox.
PickerHint Specifies the string initially displays in the TextBox that receives the selected date. Date format string is commonly used as PickerHint.
PickerStyle Specifies the CSS style of the TextBox which is used to display the selected dates from the PopupCalendar.
PMDesignator Gets or sets the P.M. designator.
PopupCollapseEffect (inherited from PopupCalendar) Specifies the Effect object that controls the effect to collapse the calendar.
PopupDownImageUrl Specifies the URL of the image to display when mouse is pressed down over the button. The button is used to trigger the PopupCalendar to display.
PopupExpandDirection (inherited from PopupCalendar) Specifies the direction to which the calendar displays.
PopupExpandEffect (inherited from PopupCalendar) Specifies the Effect object that controls the effect to expand the calendar.
PopupHoverImageUrl Specifies the URL of the image to display when mouse is position over the button. The button is used to trigger the PopupCalendar to display.
PopupImageHeight Specifies the height of the image to display on the button when mouse is pressed down over the button. The button is used to trigger the PopupCalendar to display.
PopupImageUrl Specifies the URL of the image displayed on the button. The button is used to trigger the PopupCalendar to display.
PopupImageVisible Specifies if the button to display the PopupCalendar is visible.
PopupImageWidth Specifies the width of the image to display on the button when mouse is pressed down over the button. The button is used to trigger the PopupCalendar to display.
PopupOffsetX (inherited from PopupCalendar) Specifies the horizontal offset of the position to display this PopupCalendar.
PopupOffsetY (inherited from PopupCalendar) Specifies the vertical offset of the position to display this PopupCalendar.
PopupShadowColor (inherited from PopupCalendar) Specifies the color of this calendar popup. If not set, default color(gray) is used.
PopupShadowDepth (inherited from PopupCalendar) Specifies the depth (in pixel) of the calendar popup. If not set, default value(3px) is used.
PopupTrigger Gets or sets which action triggers the date picker popup.
RightToLeft (inherited from WebControl) Gets or sets a value indicating whether the control should renders as right to left.
SelectedDate (inherited from Calendar) Gets or sets a date to which SelectedDayStyle will be applied.
SelectedDates (inherited from Calendar) Gets or sets a collection of dates to which SelectedDayStyle will be applied.
SelectedDateString (inherited from Calendar) Gets or sets a date in as a string rather as a DateTime.
SelectedDayStyle (inherited from Calendar) Specifies the appearance setting of day cells that belong to SelectedDates.
Shortcut (inherited from WebControl) Get a Shortcut object through which you can get or set the keyboard short cut for this control.
Site (inherited from Control)Gets information about the container that hosts the current control when rendered on a design surface.
SkinID (inherited from WebControl)Gets or sets the skin to apply to the control.
Style (inherited from WebControl)Gets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control.
SwapDuration (inherited from Calendar) Defines the duration (in milliseconds) when calender switches one month to another month.
SwapStyle (inherited from Calendar) Specifies the style when calender switches one month to another month.
TabIndex (inherited from WebControl)Gets or sets the tab index of the Web server control.
TemplateControl (inherited from Control)Gets or sets a reference to the template that contains this control.
TemplateSourceDirectory (inherited from Control)Gets the virtual directory of the Page or UserControl that contains the current server control.
TitleArrowDownStyle (inherited from Calendar) Specifies the style of "next" and "previous" arrows displayed on title area when mouse button is pressed down on the arrows.
TitleArrowHoverStyle (inherited from Calendar) Specifies the style of "next" and "previous" arrows displayed on title area when mouse positions over the arrows.
TitleArrowImageHeight (inherited from Calendar) Specifies the height (in pixel) for "next" and "previous" arrows displayed on title area.
TitleArrowImageWidth (inherited from Calendar) Specifies the width (in pixel) for "next" and "previous" arrows displayed on title area.
TitleArrowStyle (inherited from Calendar) Specifies the style of "next" and "previous" arrows displayed on title area.
TitleFormat (inherited from Calendar) Gets or sets the string to specify date format to display for the title section.
TitleLeftArrowDownImageUrl (inherited from Calendar) Specifies the URL string that points to the arrow image displayed on the left side of the title heading area when the mouse is pressed down.
TitleLeftArrowHoverImageUrl (inherited from Calendar) Specifies the URL string that points to the arrow image displayed on the left side of the title heading area when the mouse is positioned over the left arrow.
TitleLeftArrowHtml (inherited from Calendar) Specifies the text displayed as the left arrow on the left side of the title heading area. By default, << is used.
TitleLeftArrowImageUrl (inherited from Calendar) Specifies the URL string that points to the arrow image displayed on the left side of the title heading area.
TitleRangeSeparator (inherited from Calendar) Specifies the string used to separate the currently displaying month range for the title area.
TitleRightArrowDownImageUrl (inherited from Calendar) Specifies the URL string that points to the arrow image displayed on the right side of the title heading area when mouse is pressed down.
TitleRightArrowHoverImageUrl (inherited from Calendar) Specifies the URL string that points to the arrow image displayed on the right side of the title heading area when mouse is pressed down.
TitleRightArrowHtml (inherited from Calendar) Specifies the text displayed as the left arrow on the right side of the title heading area. By default, >> is used.
TitleRightArrowImageUrl (inherited from Calendar) Specifies the URL string that points to the arrow image displayed on the right side of the title heading area.
TitleStyle (inherited from Calendar) Gets or sets style properties of title area for a Calendar control.
TitleTemplate (inherited from Calendar) Specifies any customized HTML to be displayed in a calendar's title area.
TitleTemplateScope (inherited from Calendar) Specifies whether TitleTemplate is applied for the whole title area or the title text only.
TitleVisible (inherited from Calendar) Gets or sets whether the title section of the Calendar control is visible.
TodayHoverStyle (inherited from Calendar) Specifies the appearance setting of the day cell that represents today when mouse is positioned over it.
TodayStyle (inherited from Calendar) Specifies the appearance setting of the day cell that represents today.
ToolTip (inherited from WebControl)Gets or sets the text displayed when the mouse pointer hovers over the Web server control.
UniqueID (inherited from Control)Gets the unique, hierarchically qualified identifier for the server control.
Visible (inherited from Control)Gets or sets a value that indicates whether a server control is rendered as UI on the page.
VisibleDate (inherited from Calendar) Gets or sets the date that specifies the first month to display in a Calendar control.
WaitMessage (inherited from Calendar) Gets or sets the message to be displayed while the calendar calls server side DayRender event handler.
WeekendDayHoverStyle (inherited from Calendar) Specifies the appearance setting of weekend day cells when mouse is positioned over it.
WeekendDayStyle (inherited from Calendar) Specifies the appearance setting of weekend day cells.
WeekNumberBase (inherited from Calendar) Specifies whether the Calendar/DatePicker should display week number based on month or year.
WeekSelectorHtml (inherited from Calendar) Specifies the html to display for the week selector.
WeekSelectorImageHeight (inherited from Calendar) Specifies the height (in pixel) for the week selector image specified by WeekSelectorImageUrl property.
WeekSelectorImageUrl (inherited from Calendar) Specifies the url of the week selector image.
WeekSelectorImageWidth (inherited from Calendar) Specifies the width (in pixel) for the week selector image specified by WeekSelectorImageUrl property.
WeekSelectorStyle (inherited from Calendar) Specifies the appearance setting of week selector.
WeekSelectorVisible (inherited from Calendar) Specifies if week selector is visible. Week selector is used to select the whole week.
Width Specifies the total width in pixel of this DatePicker.

Public Instance Methods

ApplyStyle (inherited from WebControl)Copies any nonblank elements of the specified style to the Web control, overwriting any existing style elements of the control. This method is primarily used by control developers.
ApplyStyleSheetSkin (inherited from Control)Applies the style properties defined in the page style sheet to the control.
CopyBaseAttributes (inherited from WebControl)Copies the properties not encapsulated by the Style object from the specified Web server control to the Web server control that this method is called from. This method is used primarily by control developers.
DataBind (inherited from Control)Overloaded. Binds a data source to the invoked server control and all its child controls.
Dispose (inherited from Control)Enables a server control to perform final clean up before it is released from memory.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FindControl (inherited from Control)Overloaded. Searches the current naming container for a server control with the specified id parameter.
Focus (inherited from Control)Sets input focus to a control.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
HasControls (inherited from Control)Determines if the server control contains any child controls.
MergeStyle (inherited from WebControl)Copies any nonblank elements of the specified style to the Web control, but will not overwrite any existing style elements of the control. This method is used primarily by control developers.
RenderBeginTag (inherited from WebControl)Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers.
RenderControl (inherited from Control)Overloaded. Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
RenderEndTag (inherited from WebControl)Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers.
ResolveClientUrl (inherited from Control)Gets a URL that can be used by the browser.
ResolveUrl (inherited from Control)Converts a URL into one that is usable on the requesting client.
SetRenderMethodDelegate (inherited from Control)Assigns an event handler delegate to render the server control and its content into its parent control.
ToString (inherited from Object)Returns a String that represents the current Object.

Public Instance Events

DataBinding (inherited from Control)Occurs when the server control binds to a data source.
DayRender (inherited from Calendar) Occurs when day cell is rendered.
Disposed (inherited from Control)Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested.
Init (inherited from Control)Occurs when the server control is initialized, which is the first step in its lifecycle.
Load (inherited from Control)Occurs when the server control is loaded into the Page object.
PreRender (inherited from Control)Occurs after the Control object is loaded but prior to rendering.
Scroll (inherited from Calendar) Occurs when visible month is changed.
SelectionChanged (inherited from Calendar) Occurs when SelectedDates property is changed.
Unload (inherited from Control)Occurs when the server control is unloaded from memory.

Protected Instance Properties

Adapter (inherited from Control)Gets the browser-specific adapter for the control.
ChildControlsCreated (inherited from Control)Gets a value that indicates whether the server control's child controls have been created.
ClientIDSeparator (inherited from Control)Gets a character value representing the separator character used in the ClientID property.
Events (inherited from Control)Gets a list of event handler delegates for the control. This property is read-only.
HasChildViewState (inherited from Control)Gets a value indicating whether the current server control's child controls have any saved view-state settings.
IdSeparator (inherited from Control)Gets the character used to separate control identifiers.
IsTrackingViewState (inherited from Control)Gets a value that indicates whether the server control is saving changes to its view state.
LoadViewStateByID (inherited from Control)Gets a value indicating whether the control participates in loading its view state by ID instead of index.
TagKey (inherited from WebControl)Gets the HtmlTextWriterTag value that corresponds to this Web server control. This property is used primarily by control developers.
TagName (inherited from WebControl)Gets the name of the control tag. This property is used primarily by control developers.
ViewState (inherited from Control)Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page.
ViewStateIgnoresCase (inherited from Control)Gets a value that indicates whether the StateBag object is case-insensitive.

Protected Instance Methods

AddAttributesToRender (inherited from WebControl)Adds HTML attributes and styles that need to be rendered to the specified HtmlTextWriterTag. This method is used primarily by control developers.
AddParsedSubObject (inherited from Control)Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's ControlCollection object.
BuildProfileTree (inherited from Control)Gathers information about the server control and delivers it to the Trace property to be displayed when tracing is enabled for the page.
ClearChildControlState (inherited from Control)Deletes the control-state information for the server control's child controls.
ClearChildState (inherited from Control)Deletes the view-state and control-state information for all the server control's child controls.
ClearChildViewState (inherited from Control)Deletes the view-state information for all the server control's child controls.
CreateControlCollection (inherited from Control)Creates a new ControlCollection object to hold the child controls (both literal and server) of the server control.
CreateControlStyle (inherited from WebControl)Creates the style object that is used internally by the WebControl class to implement all style related properties. This method is used primarily by control developers.
DataBind (inherited from Control)Overloaded. Binds a data source to the invoked server control and all its child controls with an option to raise the DataBinding event.
DataBindChildren (inherited from Control)Binds a data source to the server control's child controls.
EnsureChildControls (inherited from Control)Determines whether the server control contains child controls. If it does not, it creates child controls.
EnsureID (inherited from Control)Creates an identifier for controls that do not have an identifier assigned.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FindControl (inherited from Control)Overloaded. Searches the current naming container for a server control with the specified id and an integer, specified in the pathOffset parameter, which aids in the search. You should not override this version of the FindControl method.
Fixup 
GetDesignModeState (inherited from Control)Gets design-time data for a control.
HasEvents (inherited from Control)Returns a value indicating whether events are registered for the control or any child controls.
IsLiteralContent (inherited from Control)Determines if the server control holds only literal content.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnBubbleEvent (inherited from Control)Determines whether the event for the server control is passed up the page's UI server control hierarchy.
OnDataBinding (inherited from Control)Raises the DataBinding event.
RaiseBubbleEvent (inherited from Control)Assigns any sources of the event and its information to the control's parent.
RenderControl (inherited from Control)Overloaded. Outputs server control content to a provided HtmlTextWriter object using a provided ControlAdapter object.
ResolveAdapter (inherited from Control)Gets the control adapter responsible for rendering the specified control.
SetDesignModeState (inherited from Control)Sets design-time data for a control.

Protected Internal Instance Properties

Context (inherited from Control)Gets the HttpContext object associated with the server control for the current Web request.
DesignMode (inherited from Control)Gets a value indicating whether a control is being used on a design surface.
IsChildControlStateCleared (inherited from Control)Gets a value indicating whether controls contained within this control have control state.
IsEnabled (inherited from WebControl)Gets a value indicating whether the control is enabled.
IsViewStateEnabled (inherited from Control)Gets a value indicating whether view state is enabled for this control.

Protected Internal Instance Methods

AddedControl (inherited from Control)Called after a child control is added to the Controls collection of the Control object.
CreateChildControls (inherited from Control)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.
LoadControlState (inherited from Control)Restores control-state information from a previous page request that was saved by the SaveControlState method.
MapPathSecure (inherited from Control)Retrieves the physical path that a virtual path, either absolute or relative, maps to.
OnUnload (inherited from Control)Raises the Unload event.
OpenFile (inherited from Control)Gets a Stream used to read a file.
RemovedControl (inherited from Control)Called after a child control is removed from the Controls collection of the Control object.
RenderChildren (inherited from Control)Outputs the content of a server control's children to a provided HtmlTextWriter object, which writes the content to be rendered on the client.
RenderContents (inherited from WebControl)Renders the contents of the control to the specified writer. This method is used primarily by control developers.
SaveControlState (inherited from Control)Saves any server control state changes that have occurred since the time the page was posted back to the server.

See Also

DatePicker Class | EO.Web Namespace


Direct link to this topic