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

To set the default time for scroll position in day and week view.

7 Answers 116 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Anand
Top achievements
Rank 1
Anand asked on 24 Jun 2011, 01:02 PM
i have to set the scroll position to the particular time (say to 8AM), when the page loads.


Thanks,

7 Answers, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 30 Jun 2011, 10:53 AM
Hi Ab,

You can use the ScrollIntoView method. This will allow you to scroll the day to the desired timeslot.

Don't hesitate to contact us if you have other questions.


Kind regards,
Boyan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Mark
Top achievements
Rank 1
answered on 30 Aug 2011, 11:10 PM
Any ideas for MVVM? Seems like you guys are very code behind dependent. Some of these things should be properties...

-Markus
0
Valeri Hristov
Telerik team
answered on 31 Aug 2011, 07:37 AM
Hello Mark,

There is a property named FirstVisibleTime on RadScheduleView, but it has its limitations - unless it is bound, it works only the first time RadScheduleView is displayed. The logic behind this property is not very clear yet, hence we are not recommending it much.

Kind regards,
Valeri Hristov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Jason
Top achievements
Rank 1
answered on 31 Dec 2012, 06:29 PM
You've replied with "Use ScrollIntoView" at least 10 times and have provided ZERO working code examples.

Can you please elaborate on EXACTLY how this method is to be used??
0
Yana
Telerik team
answered on 03 Jan 2013, 11:41 AM
Hi Jason,

Please check here for more details on how FirstVisibleTime property can be used.

Kind regards,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Jason
Top achievements
Rank 1
answered on 03 Jan 2013, 04:34 PM
I can finally get it to behave mostly the way I want.  It scrolls to the current date time (converted into a TimeSpan).  However, the scrollbar itself remains at the top of the view and when touched (or scrolled) the whole page jumps back to the top.

Any idea how to make this work properly?
0
Yana
Telerik team
answered on 07 Jan 2013, 09:54 AM
Hi Jason,

I've tried to reproduce this issue but to no avail - the approach is working as expected with the latest version of the controls. Could you please send us more details on your project, so we to be able to reproduce the erroneous behavior?

Thanks in advance

All the best,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ScheduleView
Asked by
Anand
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Mark
Top achievements
Rank 1
Valeri Hristov
Telerik team
Jason
Top achievements
Rank 1
Yana
Telerik team
Share this question
or