views:

379

answers:

0

Hi!

I have two textboxes a calendarextender connected to each of them. The first textbox represents the starting date and the second textbox represents the end date.

The problem i have is that if i select a start date i want to disable all dates previous to the start date in the end date calendarextender, and if i select an end date i want to disable all dates after the end date for the start date calendarextender.

I guess I need to use the OnClientShowing event for the extender and then in the javascript function connected to OnClientShowing make a compare with the other date, but im not sure how to access the calendars drawing functions.

Thanks!