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

ScheduleView TimelineViewDefinition, VisibleDays and navigation

1 Answer 101 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Juanjo
Top achievements
Rank 1
Juanjo asked on 18 Dec 2012, 03:49 PM
Hello,

I have a problem with the TimelineViewDefinition. I have my ScheduleView with a timeline view defined. In this view I need to show only one day, and to achieve this goal, I define the attribute VisibleDays and I set it to 1. This shows perfectly fine as expected, I get one day in the timeline view. But when in a button I call the RadScheduleViewCommands.DecreaseVisibleDateLarge or RadScheduleViewCommands.IncreaseVisibleDateLarge, the Schedule advances one week instead of one day as it should. How can I solve this?

Thank you!

1 Answer, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 21 Dec 2012, 09:13 AM
Hello Juanjo,

You should set the LargeChangeInterval="1day" property to the TimeLineView as the DecreaseVisibleDateLarge command is using it. By default it is set to a week and it is not coupled in any way with the VisibleDays property.

Kind regards,
Boyan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ScheduleView
Asked by
Juanjo
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Share this question
or