Quick Links
Tutorial - DatePickerMode
To set the calendar into date picker mode, simply set
DatePickerMode = "true"
You can also specify the textbox ID where you wish to put the formatted date:
TextBoxId = "myTextBoxID"
Example
<<
Friday, March 19, 2010
>>
<
ASP:TextBox
runat
="server"
ID
="txtDate"
>
<
/
ASP:TextBox
>
<
obout:Calendar
runat
="server"
DatePickerMode
="true"
TextBoxId
="txtDate"
>
<
/
obout:Calendar
>
Example - single month selection
<<
Friday, March 19, 2010
>>
<
ASP:TextBox
runat
="server"
ID
="txtDate"
>
<
/
ASP:TextBox
>
<
obout:Calendar
runat
="server"
DatePickerMode
="true"
TextBoxId
="txtDate"
Columns
="1"
>
<
/
obout:Calendar
>
To set a different date picker icon, use
DatePickerImagePath
property:
<
ASP:TextBox
runat
="server"
ID
="txtDate"
>
<
/
ASP:TextBox
>
<
obout:Calendar
runat
="server"
DatePickerMode
="true"
TextBoxId
="txtDate"
DatePickerImagePath
="/calendar/styles/icon2.gif"
>
<
/
obout:Calendar
>
See also
You can link two calendars together to select a date range. See
date range tutorial
.
"
Kudos on creating this extremely powerful grid!
"
Mike Cabassol
Provali Group
obout.com
obout.com Home
News
Calendar Home
Calendar Home
Download
Site Map
Examples
- 31
Appearance
- 2
Style Gallery
Live Styles
Date picker
- 11
Date picker
With TextBox sync
Date picker - Selected date
Date picker custom image
Date picker - show event
Date picker with comboboxes
Date picker align
Date and time picker
Clear date picker
Clear date picker 2
Date picker and postback
Features
- 9
Localization
Multiple rows and columns
Print
Week select
Year Selector
Month Selector
Time Selector
With external month selector
Year/Month Selector Sync
Integration
- 11
Inside Grid
Inside MS Grid
Airline tickets
Inside Window
Inside MS AJAX panel
Set minimum date
Autopostback
Synchronization
Inside AJAX Page panel
Task list
Multiple calendars in a Grid
Calendar for multiple Textboxes
Knowledge Base
- 1
Knowledge Base
Documentation
- 2
Server side
Client side
ChangeLog
Tutorials
- 23
Localization
Date picker
Date range
Custom date range
Synchronized month scrolling
Year selector
Month selector
Time selector
Set Time
Special dates
Select only special dates
Select the selected date
Select multiple dates
Date and time format
EnabledDateExpression
On postback
Month scrolling
Disable month scrolling
Set minimum date
Title Text
Using the correct path
Client side functions
Products
AJAX Page
Calendar
Color Picker
Date Picker
File Upload Progress
Flyout
Grid
HTML Editor
Image Zoom
Listbox
Multilevel Listbox
Scheduler
Show
Spell Checker
Splitter
Tab Strip
TreeView
Tree_DB
Window
Menu
Context Menu
Easy Menu
Slide Menu
Text Menu
Combobox
Combobox
AJAX Autosuggest
Multilevel Combobox
State Selector
Interface Controls
Button
Checkbox
Dropdown List
Multiline Textbox
Radio Button
Textbox
ASP.NET MVC
Interface Controls
Download
Download page
Install FAQ
Tech Support
Our clients
Testimonials
Support
Support
Purchase
Purchase page
Contact Sales
License info
Sales FAQ
Customer login
Print Invoice
Installation
Company
Legal
Clients
Testimonials
Contact