Basic Date Picker Documentation

BasicDatePicker Properties

The properties of the BasicDatePicker class are listed below. For a complete list of BasicDatePicker class members, see the BasicDatePicker Members topic.

Public Instance Properties

AccessKey (inherited from WebControl) Gets or sets the access key (underlined letter) that allows you to quickly navigate to the Web server control.
Attributes (inherited from WebControl) Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control.
AutoPostBack Automatically postback to the server after the date is modified.
BackColor (inherited from WebControl) Gets or sets the background color of the Web server control.
BindingContainer (inherited from Control) 
BorderColor (inherited from WebControl) Gets or sets the border color of the Web control.
BorderStyle (inherited from WebControl) Gets or sets the border style of the Web server control.
BorderWidth (inherited from WebControl) Gets or sets the border width of the Web server control.
ButtonImageFileNameGets or sets the image button file name.
ButtonImageHeight Gets or sets the height of the Image button.
ButtonImageWidth Gets or sets the width of the Image button.
ButtonPosition Gets or Sets the position of the button in relation to the TextBox. Default = Right.
ButtonStyle Gets the style properties for the launching Button style.
ButtonText Gets or sets the Text value of the launching element if Label or Button.
CalendarStyle Gets the style properties for the main calendar elements.
ClientID (inherited from Control) Gets the server control identifier generated by ASP.NET.
ClientTarget Determines how BasicDatePicker should render to various browsers.
Columns Gets or sets the number of columns of calendars displayed when opened. Default value is 1.
Controls Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.
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.
CssClass Gets or sets CSS class applied to the <span> tag that wraps the control.
DateFormat Gets or sets the custom date format. Uses .NET DateTime format specifiers. "d" = ShortDate. "D" = LongDate. (d = day, M = Month, y = Year).
DatePickerDisplayType Gets or sets how the combination of controls will be displayed.
DayHeaderStyle Gets the style properties for the elements in the day header. Includes day names.
DayNameFormat Gets or sets the format of how the Day labels will be displayed. Options include (Enum): DayNameFormat.Full, .Short, .FirstLetter or .FirstTwoLetters
DayStatusBarText Gets or sets the value that will be display in the bottom status bar of the web browser.
DayStyle Gets the style properties for the day.
DownYearSelectorImageFileNameGets or sets the Down Year Selector image file name.
DownYearSelectorText Gets or sets the down year selector text UpDownYearSelectorFormat is set to CustomText.
Enabled Gets or sets a value indicating whether the BasicDatePicker is enabled. if Enabled = false, TextBox readonly attribute will be set to readonly and Image Button will be set to Disabled.
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 Gets or sets the day of the week to display in the first day column of the BasicDatePicker control.
Font (inherited from WebControl) Gets the font properties associated with the Web server control.
FooterStyle Gets the style properties for the footer style.
FootNoteStyle Gets the style properties for the foot note style.
FootNoteText Gets or sets the foot note text. Can contain HTML.
ForceSixRows Gets or sets a value indicating whether to force calendar to display 6 rows.
ForeColor (inherited from WebControl) Gets or sets the foreground color (typically the color of the text) of the Web server control.
Height (inherited from WebControl) Gets or sets the height of the Web server control.
ID (inherited from Control) Gets or sets the programmatic identifier assigned to the server control.
IsDate Gets a value indicating whether the posted text can be parsed into a valid DateTime object. If the text value can not be parsed into a DateTime object based on the DateFormat, then false is returned.
IsDownLevel Gets a value indicating whether the current request comes from a DownLevel browser.
IsNull Gets a value indicating whether the SelectedDate is [Null]. There is no DateTime Null value in .NET, so DateTime.MinValue is returned to represent [Null].
JavaScriptFileName Gets or sets the JavaScript URL. If empty, JavaScript will be output inline on the page.
LabelStyle Gets the style properties for the Label style.
LicenseKey Gets or sets the license key. Please visit http://www.basicframe.com to purchase key.
MaximumDate Gets or sets the date that specifies the maximum allowable selectable date.
MinimumDate Gets or sets the date that specifies the minimum allowable selectable date.
MonthSelectorEnabled Gets or sets a value indicating whether the month selector is enabled.
MonthSelectorXOffset Gets or sets the month selectors x-offset.
MonthSelectorYOffset Gets or sets the month selector's y-offset.
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.
NextMonthImageFileNameGets or sets the file name of the NextMonth image (ie. arrows).
NextMonthText Gets or sets the text to be used for navigating to the next month. NextPrevFormat must be set to NextPrevFormat. CustomText for this custom text to be rendered.
NextPrevFormat Gets or sets the NextPrev (ie. arrows) format.
NextPrevMonthImageHeight Gets or sets the height of the NextMonth and PrevMonth images (ie. arrows).
NextPrevMonthImageWidth Gets or sets the width (px) of the NextMonth and PrevMonth images (ie. arrows).
NextPrevStyle Gets the style properties for the next and previous elements.
NoneButtonStyle Gets the style properties for the None Button style.
NoneButtonText Gets or sets the 'None' button text.
NullDateText Gets or sets the text displayed when NullDate(DateTime.MinValue) is supplied. Value can be applied to TextBox, Label, HyperLink and Button.
OnClientAfterCalendarOpen Custom JavaScript function which is fired just after calendaris opened. Example: BasicDatePicker1.OnClientAfterCalendarOpen = "myCustomAfterCalendarOpenFunction";
OnClientAfterSelectionChanged Custom JavaScript function which is fired just after internal client-side SelectionChanged Event is fired. Example: BasicDatePicker1.OnClientAfterSelectionChanged = "myCustomAfterChangedFunction";
OnClientAfterVisibleMonthChanged Custom JavaScript function which is fired just after internal client-side MonthChanged Event is fired. Example: BasicDatePicker1.OnClientAfterVisibleMonthChanged = "myCustomAfterVisibleMonthChangedFunction";
OnClientBeforeCalendarClose Custom JavaScript function which is fired just before calendar is closed. Example: BasicDatePicker1.OnClientBeforeCalendarClose = "myCustomBeforeCalendarCloseFunction";
OnClientBeforeCalendarOpen Custom JavaScript function which is fired just before calendar is opened. Example: BasicDatePicker1.OnClientBeforeCalendarOpen = "myCustomBeforeCalendarOpenFunction";
OnClientBeforeSelectionChanged Custom JavaScript function which is fired just before internal client-side SelectionChanged Event is fired. Example: BasicDatePicker1.OnClientBeforeSelectionChanged = "myCustomBeforeChangedFunction";
OnClientBeforeVisibleMonthChanged Custom JavaScript function which is fired just before internal client-side MonthChanged Event is fired. Example: BasicDatePicker.OnClientBeforeVisibleMonthChanged = "myCustomBeforeVisibleMonthChangedFunction";
OnClientDayRender Custom JavaScript function which is fired when each day is created. Example: BasicDatePicker1.OnClientDayRender = "myCustomDayrenderFunction";
OpenCalendarOnTextBoxFocus If focus is placed on TextBox, then open calendar.
OtherMonthDayStyle Gets the style properties for the cells in the next or previous months.
Page (inherited from Control) Gets a reference to the Page instance that contains the server control.
Parent (inherited from Control) Gets a reference to the server control's parent control in the page control hierarchy.
PopUpStyle Gets the style properties for the main pop up calendar wrapper.
PostedText Gets the exact string value entered by user into the TextBox.
PrevMonthImageFileNameGets or sets the file name of the PrevMonth image (ie. arrows).
PrevMonthText Gets or sets the text to be used for navigating to the previous month. NextPrevFormat must be set to NextPrevFormat.CustomText for this custom text to be rendered.
ReadOnly Gets or sets a value indicating whether TextBox is readonly. Does not allow editing within TextBox.
RenderJavaScript If false no inline JavaScript or <script language="javascript"> will be rendered to the page, other than the Parameters required by the instance of the DatePicker.
RenderStyleSheet If false no inline styles or <style> block will be rendered to the page.
ResourcePath Gets or Sets the root path to resources (example: .js, .css, images) required by the control.
Rows Gets or sets the number of rows of calendars displayed when opened. Default value is 1.
SelectableNextMonthDays Allow selection of Next Month Days which are displayed after the last day of the current visible month.
SelectablePrevMonthDays Allow selection of Previous Month Days which are displayed before the first day of the current visible month.
SelectableWeekDays Allow selection of WeekDays.
SelectableWeekendDays Allow selection of WeekEndDays.
SelectedDate Gets or sets the current selected date of the calendar. Accepts and returns a DateTime object.
SelectedDateFormatted Gets the formatted SelectedDate as string based on the DateFormat.
SelectedDateTimeFormatted Gets the formatted SelectedDate and concatinated SelectedTime as string based on the DateFormat and TimeFormat.
SelectedDayStyle Gets the style properties for the SelectedDate.
ShowDayHeader Shows or hides the section that displays the days of the week.
ShowDaysInNextMonth Shows or hides the days in the next month that fill the cells at the end of the current month.
ShowDaysInPrevMonth Shows or hides the days in the previous month that fill the cells at the start of the current month.
ShowNextPrevMonth Show or hides the next and previous month navigation elements in the title section.
ShowNoneButton Show or hides the 'None' button which is displayed at the bottom of th calendar.
ShowTitle Shows or hides the title section. Includes both month name and Next/Prev navigation.
ShowTodayButton Gets or sets a value indicating whether show the 'Today' button.
ShowWeekNumbers Gets or sets a value indicating whether the week numbers are displayed.
Site (inherited from Control) Gets information about the Web site to which the server control belongs.
SpecialDates Gets or sets the ControlId of the SpecialDates object.
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.
StyleSheetFileName Gets or sets the StyleSheet URL. If empty, CSS will be output inline by the control.
TabIndex (inherited from WebControl) Gets or sets the tab index of the Web server control.
TemplateSourceDirectory (inherited from Control) Gets the virtual directory of the Page or UserControl that contains the current server control.
TextBoxColumns Gets or sets the value of the 'size' attribute of the <input> tag (TextBox).
TextBoxMaxLength Gets or sets the value of the 'maxlength' attribute of the <input> tag (TextBox).
TextBoxStyle Gets the style properties for the TextBox style.
TimePicker Gets or sets the Id of the TimePicker which is linked to this instance of the Date Picker.
TitleStyle Gets the style properties for the Title style.
TodayButtonStyle Gets the style properties for the Today Button style.
TodayButtonText Gets or sets the 'Today' button text.
TodayDayStyle Gets the style properties for today element style.
ToolTip (inherited from WebControl) Gets or sets the text displayed when the mouse pointer hovers over the Web server control.
TwoDigitYearBreak If two digit year(yy) supplied in DateFormat or DateFormat, BasicDatePicker will add 1900 to year if above value or 2000 if below.
UniqueID (inherited from Control) Gets the unique, hierarchically-qualified identifier for the server control.
UpDownYearSelectorFormat Gets or sets the up down year selector format.
UpDownYearSelectorImageHeight Gets or sets the height of the up down year selector image.
UpDownYearSelectorImageWidth Gets or sets the width of the up down year selector image.
UpYearSelectorImageFileNameGets or sets the Up Year Selector image file name.
UpYearSelectorText Gets or sets the up year selector text if UpDownYearSelectorFormat is set to CustomText.
Visible (inherited from Control) Gets or sets a value that indicates whether a server control is rendered as UI on the page.
VisibleDate Gets or set the date that specifies the month to display when calendar is opened. Moves calendar to Month/Year of Date value supplied.
WeekendDayStyle Gets the style properties for weekend days.
WeekNumberStyle Gets the style properties for the week number style.
Width (inherited from WebControl) Gets or sets the width of the Web server control.
XOffset Gets or sets the X offset of the calendar from the bottom-right of the launching element (Button, Image, HyperLink, Label or TextBox). Can be negative value.
YearSelectorEnabled Gets or sets a value indicating whether the year selector is enabled.
YearSelectorXOffset Gets or sets the year selector's x-offset.
YearSelectorYOffset Gets or sets the year selector's y-offset.
YOffset Gets or sets the Y offset of the calendar from the bottom-right of the launching element (Button, Image, HyperLink, Label or TextBox). Can be negative value.

Protected Instance Properties

ChildControlsCreated (inherited from Control) Gets a value that indicates whether the server control's child controls have been created.
Context (inherited from Control) Gets the HttpContext object associated with the server control for the current Web request.
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.
IsTrackingViewState (inherited from Control) Gets a value that indicates whether the server control is saving changes to its view state.
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.

See Also

BasicDatePicker Class | BasicFrame.WebControls Namespace