Rank: Newbie Groups: Member
Joined: 9/23/2007 Posts: 1
|
I am trying to use the ClientSideOnScroll to disable dates in the calendar without a post back opccuring. But I have not been able to accomploish this. Is there an example that will accomplis this.
what I wanrt to do is clear the disable dates on a scroll then add the new disabled dates for the new month.
Thanks.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi Roy,
I don't think you can change disabled dates on the client side without posting back to the server. It can only be changed on the server side.
One thing you can do is to put the Calendar inside a CallbackPanel, set the Calendar as a trigger and also set its AutoPostBackOnScroll to true. That way a postback does occur, but it will be handled by the CallbackPanel, so that other part of the page is not updated.
Thanks
|