Welcome Guest Search | Active Topics | Sign In | Register

DatePicker, min date and JavaScript Options
Peter Smith
Posted: Saturday, February 23, 2008 1:13:58 AM
Rank: Newbie
Groups: Member

Joined: 2/20/2008
Posts: 5
I need to be able to change the min and max allowed dates in JavaScript. There does not seem to be an interface for this.

Is there a way of doing this without postback?

Thanks


Peter Smith
eo_support
Posted: Saturday, February 23, 2008 5:56:35 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,098
Hi Peter,

Unfortunately as you have discovered, such interface does not exist on the client side. It makes perfect sense to have it though; we will try to add it.

In the mean time, you can use a CallbackPanel to make an AJAX call to the server side to change it. That a post back still occurs, but you can set it to only update the DatePicker, not the whole page.

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.