ASP.NET jQuery DatePicker Control Wrapper by Rick Strahl http://www.west-wind.com/
License: Free
Simple DatePicker control that uses jQuery UI DatePicker to pop up a date picker.
Important Requirements: ~/scripts/jquery.js (available from WebResource) ~/scripts/jquery-ui.js (custom build of jQuery.ui) ~/scripts/themes/base (choose any theme name one theme to display styling)
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.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.TextBox
Westwind.Web.Controls.jQueryDatePicker
public class jQueryDatePicker : TextBox
Class Members
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 | |
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 | |
OnClientBeforeShow |
Client event handler that fires before the date picker is activated | |
OnClientSelect |
Client event handler fired when a date is selected | |
SelectedDate |
The currently selected date | |
ShowButtonPanel |
Determines where the Close icon is displayed. True = top, false = bottom. | |
Theme |
Theme applied to the base CSS url. Replaces /base/ with the theme selected |
Requirements
Namespace: Westwind.Web.ControlsAssembly: westwind.web.webforms.dll
© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic