How do I go about prevent all day appointments being created. If I create an appointment in the scheduler as normal and drag it to the top of the scheduler into the all day bar it changes the times to an all day event. I want to prevent them double clicking in the all day event bar or dragging and dropping an appointment in to this bar.
I've tried the following but it still allows me to create appointments
I've tried the following but it still allows me to create appointments
void
rsTest_CellFormatting(
object
sender, SchedulerCellEventArgs e)
{
if
(e.CellElement
is
SchedulerHeaderCellElement)
{
e.CellElement.Enabled =
false
;
e.CellElement.Visibility = Telerik.WinControls.ElementVisibility.Hidden;
}
}