Hi,
We're using the RadCalendar for showing available dates for a travel booking-service. We use the OnDayRender-event to disable days when it's not possible to book. This works like a charm. However, for a few travels it is only possible to book a few dates per year, for instance it may be possible to book only at 15th of january, 20th of april and 1st of september.
But if we disable all days except these ones we get a dialog-box saying "Date is out of range" if the user tries to navigate to the next month from April.
Would it be possible to let the calender automatically jump to next "valid" month (September) when the user tries to navigate to next month?
Btw, I agree this is not the most elegant solution when so few dates are actually available, but this is how the customer wants it as all travels should be booked in the same manner.
Edit: I notice that you won't get that error message I mentioned, but you have to go through all months from may to august (without any valid dates) before you get to september, so my question about jumping directly is still valid.
We're using the RadCalendar for showing available dates for a travel booking-service. We use the OnDayRender-event to disable days when it's not possible to book. This works like a charm. However, for a few travels it is only possible to book a few dates per year, for instance it may be possible to book only at 15th of january, 20th of april and 1st of september.
But if we disable all days except these ones we get a dialog-box saying "Date is out of range" if the user tries to navigate to the next month from April.
Would it be possible to let the calender automatically jump to next "valid" month (September) when the user tries to navigate to next month?
Btw, I agree this is not the most elegant solution when so few dates are actually available, but this is how the customer wants it as all travels should be booked in the same manner.
Edit: I notice that you won't get that error message I mentioned, but you have to go through all months from may to august (without any valid dates) before you get to september, so my question about jumping directly is still valid.