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

Custom Ruler Leaves Block at bottom of Scheduler

1 Answer 56 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Denis Cilliers
Top achievements
Rank 1
Denis Cilliers asked on 09 Nov 2012, 12:15 PM
When I set the ruler to a shorter time period I get a strange block at the bottom of the scheduler.

This would not be an issue, if just for the fact that you can right click in this section and add an appointment?

This should be hidden or removed or not have the context menu show 

Any help would be appreaciated

1 Answer, 1 is accepted

Sort by
0
Ivan Todorov
Telerik team
answered on 13 Nov 2012, 02:25 PM
Hi Denis,

Thank you for contacting us.

The blank area under the scheduler appears due to an issue in its layout logic. I have logged it in our Public Issue Tracking System and we will address it in a future release. Here is the link to the PITS item: http://www.telerik.com/support/pits.aspx#/public/winforms/13377.

For the time being you can prevent the context menu from showing over the blank area by handling the ContextMenuShowing event as shown below:
void radScheduler1_ContextMenuShowing(object sender, Telerik.WinControls.UI.SchedulerContextMenuShowingEventArgs e)
{
    if (e.Element is DayViewAppointmentsTable)
    {
        e.Cancel = true;
    }
}

Your Telerik points have been updated. Feel free to ask if you have any additional questions.

All the best,
Ivan Todorov
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
Tags
Scheduler and Reminder
Asked by
Denis Cilliers
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Share this question
or