This is a migrated thread and some comments may be shown as answers.

Remove the local row option in scheduler

3 Answers 101 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Dev
Top achievements
Rank 1
Veteran
Dev asked on 21 Oct 2019, 03:25 PM

Hi,

We need to remove the local row option in scheduler from the day view. Screenshot mentioned below for your reference.

screenshot

3 Answers, 1 is accepted

Sort by
0
Accepted
Nadya | Tech Support Engineer
Telerik team
answered on 22 Oct 2019, 04:41 AM

Hello Rick,

In order to achieve this, you should access the DayViewAllDayHeader which represents the area in the SchedulerDayViewElement where all-day appointments are shown:

SchedulerDayViewElement schedulerDayViewElement = this.radScheduler1.SchedulerElement.ViewElement as SchedulerDayViewElement;
if (schedulerDayViewElement != null)
{
    DayViewAllDayHeader allDayHeader = schedulerDayViewElement.AllDayHeaderElement;
    allDayHeader.Visibility = ElementVisibility.Collapsed;
}

I hope this helps. Should you have any other questions do not hesitate to ask.

Regards,
Nadya
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Dev
Top achievements
Rank 1
Veteran
answered on 22 Oct 2019, 07:47 AM

Hi Nadya,

Thank you for the suggested solution it works nicely.

Also the below option works for this issue, you can check & suggest to others.

DirectCast(Me.radScheduler1.ActiveView, Telerik.WinControls.UI.SchedulerDayViewBase).ShowAllDayArea = False
0
Nadya | Tech Support Engineer
Telerik team
answered on 22 Oct 2019, 11:08 AM

Hello Rick,

Thank you for sharing this suggestion. Please do not hesitate to contact us if you have any other questions or concerns.

Regards,
Nadya
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Scheduler and Reminder
Asked by
Dev
Top achievements
Rank 1
Veteran
Answers by
Nadya | Tech Support Engineer
Telerik team
Dev
Top achievements
Rank 1
Veteran
Share this question
or