Welcome Guest Search | Active Topics | Sign In | Register

DateTimePicker client side enable/disable Options
sergey
Posted: Monday, August 20, 2007 5:43:49 AM
Rank: Newbie
Groups: Member

Joined: 8/20/2007
Posts: 3
Hi Guys,

Is there any way we can enable or disable calendar (DateTime picker) control on a client. If not is there any way we can get SelectedDate onChange for both manual keyboard input and picked date.

Thank you.
eo_support
Posted: Monday, August 20, 2007 5:56:38 AM
Rank: Administration
Groups: Administration

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

There isn't a way to disable the control on the client. However you can use a CallbackPanel to do that easily. Just put the DatePicker inside a CallbackPanel, set the date picker as a trigger, then set the date picker's AutoPostBack to true. That should cover both manual keyboard input and picked date. You can then disable the DatePicker on server side inside CallbackPanel_Execute or DatePicker_SelectionChanged.

Thanks


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.