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

Setting focus/scroll to a certain time.

3 Answers 181 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Nico
Top achievements
Rank 1
Nico asked on 04 Feb 2011, 10:14 AM
Hello,

First of all congrats on the new WPF Q3 SP1 release. The WPF controls looks really great.
For the ScheduleView I really like the SpecialSlots styling, this is exactly what we needed.

So here's my question,

I'm using a group filter on the resources that are in the selected appointment. That way only resources that have a correlation with the selected appointment are shown (along with their availabilities). Now, when I change the a resource for the selected appointment, the calendar is updated accordingly (showing the new resource and it's availability). Until now everything is as expected. However after the update the scroll bar is back on top and not where it was before. So how would I set the scroll bar.

I see several options.
1. Make it possible to scroll to a certain time. (independent of zoom level)
2. Autoscroll to the selected appointment.

How would you guys go about this?

Thanks,
Nico


3 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 09 Feb 2011, 04:49 PM
Hello Nico,

You can use the ScrollIntoView method to make the RadScheduleView scroll to specific DateTime or Appointment I think. Would you give it a try and notify us if it works in your scenario?

Regards,
Pana
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Nico
Top achievements
Rank 1
answered on 22 Feb 2011, 03:37 PM
Thanks for the tip, it works.
0
Pana
Telerik team
answered on 23 Feb 2011, 08:53 AM
You are welcome.
If you have further problems do not hesitate to contact us.

Greetings,
Pana
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
ScheduleView
Asked by
Nico
Top achievements
Rank 1
Answers by
Pana
Telerik team
Nico
Top achievements
Rank 1
Share this question
or