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

Hide horizontal scrollbar and custom navigation in RadSchedule for winforms?

1 Answer 189 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Karl
Top achievements
Rank 1
Karl asked on 08 Jun 2012, 02:48 PM
As the subject suggests, I would like to know if I can hide the horizontal scrollbar in a RadSchedule control when in timeline view?

Also, I would like to know if it's possible to navigate forwards and backwards through the timeline using events? IE have "Forward" and "Backward" buttons to move forwards or backwards a week at a time.

Thanks,
Karl

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivan Todorov
Telerik team
answered on 12 Jun 2012, 10:55 AM
Hello Karl,

Thank you for your questions.

Yes, you can hide the horizontal scrollbar in TimelineView. Here is how you can achieve this:
this.radScheduler1.GetTimelineView().ShowNavigationElement = false;

Also, it is possible to create custom navigation buttons. The following code snippet demonstrates this:
private void nextButton_Click(object sender, EventArgs e)
{
    new NavigateToNextViewCommand().Execute(this.radScheduler1);
}
 
private void prevButton_Click(object sender, EventArgs e)
{
    new NavigateToPreviousViewCommand().Execute(this.radScheduler1);
}

I hope you find this useful. Do not hesitate to ask if you have any further questions.

Regards,
Ivan Todorov
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
Scheduler and Reminder
Asked by
Karl
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Share this question
or