5 Answers, 1 is accepted
0
mrdcpwns
Top achievements
Rank 1
answered on 27 Jan 2010, 09:18 AM
You just need to set the RangeFactor of your RadScheduler.
Example:
Example:
RadScheduler1.GetDayView.RangeFactor = Telerik.Wincontrols.UI.ScaleRange.QuarterHour 'or simply 'RadScheduler1.GetDayView.RangeFactor = ScaleRange.QuarterHour 'if you've already Imported Telerik.Wincontrols.UI 'ScaleRange can be: 'FiveMinutes 'SixMinutes 'TenMinutes 'QuarterHour 'HalfHour 'Hour |
0
Yesaya
Top achievements
Rank 1
answered on 27 Jan 2010, 10:09 AM
Ok,thanks a lot..I'll try it.. ^_^
0
Hi guys,
Thank you for contacting us. That's right, you should use RangeFactor property of SchedulerDayView when you need to change the scaling. I suggest you also check whether GetDayView() method returns null before calling it, as the return value could be null when the Scheduler ActiveViewType is not DayView. Please contact us again, if you have any other questions.
Kind regards,
Boyko Markov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Thank you for contacting us. That's right, you should use RangeFactor property of SchedulerDayView when you need to change the scaling. I suggest you also check whether GetDayView() method returns null before calling it, as the return value could be null when the Scheduler ActiveViewType is not DayView. Please contact us again, if you have any other questions.
Kind regards,
Boyko Markov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Yesaya
Top achievements
Rank 1
answered on 27 Jan 2010, 04:00 PM
Hi Boyko,are there any examples how to use it?Thanks...
0
Hi yesaya handoyo,
In order to change RadScheduler's scaling, you can use the sample code below:
I suggest that you also take a look at the RadScheduler control's samples in our Examples project, as there is a lot of sample code which will help you to learn how to use the control's features.
Please contact us again, if you have any additional questions.
Kind regards,
Boyko Markov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
In order to change RadScheduler's scaling, you can use the sample code below:
Dim
schedulerDayView
As
SchedulerDayView =
Me
.radScheduler.GetDayView()
If
schedulerDayView <>
Nothing
Then
schedulerDayView.RangeFactor = ScaleRange.TenMinutes
End
If
I suggest that you also take a look at the RadScheduler control's samples in our Examples project, as there is a lot of sample code which will help you to learn how to use the control's features.
Please contact us again, if you have any additional questions.
Kind regards,
Boyko Markov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.