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
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
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
|