Welcome Guest Search | Active Topics | Sign In | Register

Locking down dates in date picker so cannot be editable Options
Jim Seaborg
Posted: Friday, December 9, 2011 3:38:35 PM
Rank: Member
Groups: Member

Joined: 8/21/2011
Posts: 13
I'm using the datepicker now for an application that has international users.
Some users are in the habit of entering dates in a different format than we do in the US
(that is, not in month-day-year sequence).

Can I make the date portion (in the textbox area) non-editable but still allow the calendar to work?
This would force users to always use the calendar to select dates.

Thanks,

Jim Seaborg
eo_support
Posted: Friday, December 9, 2011 5:15:51 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You can set DisableTextBox to true for that. Note once you set that property to true, you may want to adjust the DatePicker's PickerStyle so that the text box area (now only static text of the selected date value) can have a fixed width/height regardless what date value is there.

Thanks!
Jim Seaborg
Posted: Friday, December 9, 2011 5:18:20 PM
Rank: Member
Groups: Member

Joined: 8/21/2011
Posts: 13
Great ... thanks a ton. And have a great weekend.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.