License: Free
based on jQuery UI DatePicker client control by Marc Grabanski http://marcgrabanski.com/code/ui-datepicker/
Simple DatePicker control that uses jQuery UI DatePicker to pop up a date picker.
Important Requirements: scripts/jquery.js scripts/ui.datepicker.js scripts/ui.datepicker.css
Resources are embedded into the assembly so you don't need to reference or distribute anything. You can however override each of these resources with relative URL based resources.
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.TextBox
Westwind.Web.Controls.jQueryDatePicker
public class jQueryDatePicker : TextBox
Member | Description | |
---|---|---|
Constructor | ||
RenderControl | public virtual void RenderControl( HtmlTextWriter writer ); | |
ButtonImage | Url to a Calendar Image or WebResource to use the default resource image. Applies only if the DisplayMode = ImageButton | |
CalendarCss | The CSS that is used for the calendar | |
CalendarJs | Location for the calendar JavaScript | |
CloseAtTop | Determines where the Close icon is displayed. True = top, false = bottom. | |
DateFormat | Determines the Date Format used. Auto uses CurrentCulture. Format: MDY/ month, date,year separator | |
DisplayMode | Determines how the datepicking option is activated | |
jQueryJs | Location of jQuery library. Use WebResource for loading from resources | |
MaxDate | Maximum allowable date. Leave blank to allow any date. | |
MinDate | Minumum allowable date. Leave blank to allow any date | |
OnClientSelect | Client event handler fired when a date is selected | |
SelectedDate | The currently selected date |