I am usiong RadScheduler for winforms trial version. I am trying to add multiple resources in a scheduling controls by using below code. But still these resouces are not visibale in the calendar. Please note; i am using same code as in documentation:
Private Sub AddResources()
Try
Dim names As String() = New String() {"Alan Smith", "Anne Dodsworth", "Boyan Mastoni", "Richard Duncan", "Maria Shnaider"}
Dim colors As Color() = New Color() {Color.LightBlue, Color.LightGreen, Color.LightYellow, Color.Red, Color.Orange, Color.Pink, _
Color.Purple, Color.Peru, Color.PowderBlue}
Dim i As Integer = 0
For Each Name As String In names
Dim oResource As New Telerik.WinControls.UI.Resource
oResource.Id =
New Telerik.WinControls.UI.EventId(i)
oResource.Name = Name
oResource.Color = colors(i)
oResource.Visible =
True
oResource.Image =
Me.ilstIcons.Images(0)
RadScheduler1.Resources.Add(oResource)
System.Math.Max(System.Threading.Interlocked.Increment(i), i - 1)
oResource =
Nothing
Next
RadScheduler1.GetDayView().ResourcesPerView = 2
Catch ex As Exception
MessageBox.Show(ex.ToString())
Finally
End Try
End Sub
Thanks,
6 Answers, 1 is accepted
try this:
http://blogs.telerik.com/RobertShoemate/Posts/09-11-05/radcontrols_for_winforms_q3_2009_-_radscheduler_resource_grouping.aspx
Thank you for contacting us. No, there is no functional limitation in the trial version.
Please make sure that you set the GroupType property to Resource:
radScheduler1.GroupType = GroupType.Resource;
You can view an example of the RadScheduler grouping feature in our Examples application, section Scheduler >> Grouping.
If you still experience issues, please open a new support ticket and send me a sample application where your case is demonstrated. This will allow us to help you further.
All the best,
Nikolay
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.
Thanks for any help. medbiller@coqui.net
Thanks for any help. medbiller@coqui.net
Please find my reply in the other forum thread where you have asked the same question.
Regards,
Ivan Todorov
the Telerik team