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

RadScheduler - Resources are not showing

6 Answers 233 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Yasir Chaudhry
Top achievements
Rank 1
Yasir Chaudhry asked on 31 Dec 2009, 08:13 PM
Hi,

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

Sort by
0
rizu mussa
Top achievements
Rank 1
answered on 01 Jan 2010, 05:43 PM

try this:


http://blogs.telerik.com/RobertShoemate/Posts/09-11-05/radcontrols_for_winforms_q3_2009_-_radscheduler_resource_grouping.aspx
0
Yasir Chaudhry
Top achievements
Rank 1
answered on 04 Jan 2010, 07:35 PM
I did try this link but still unable to see my resources on the scheduler. Is there any limitation in trial version?
0
Nikolay
Telerik team
answered on 06 Jan 2010, 10:15 AM
Hi Yasir Chaudhry,

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.
0
George
Top achievements
Rank 1
answered on 03 Dec 2012, 06:05 PM
Hi, my resources color & image are showing. However the image full height is not visible and neither is the ResourceName. Again, I can see part of the image. Is there a way of increasing the resource container row height? Mine is about .25 inch & I need it to be about 1 inch. I'm using RadScheduler Q2 2012. My resources are stored in an SQL table named Resources and bound to the scheduler.
Thanks for any help. medbiller@coqui.net
0
George
Top achievements
Rank 1
answered on 03 Dec 2012, 06:06 PM
Hi, my resources color & image are showing. However the image full height is not visible and neither is the ResourceName. Again, I can see part of the image. Is there a way of increasing the resource container row height? Mine is about .25 inch & I need it to be about 1 inch. I'm using RadScheduler Q2 2012 for WinForms. My resources are stored in an SQL table named Resources and bound to the scheduler.
Thanks for any help. medbiller@coqui.net
0
Ivan Todorov
Telerik team
answered on 06 Dec 2012, 02:39 PM
Hello George,

Please find my reply in the other forum thread where you have asked the same question.

Regards,
Ivan Todorov
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
Tags
Scheduler and Reminder
Asked by
Yasir Chaudhry
Top achievements
Rank 1
Answers by
rizu mussa
Top achievements
Rank 1
Yasir Chaudhry
Top achievements
Rank 1
Nikolay
Telerik team
George
Top achievements
Rank 1
Ivan Todorov
Telerik team
Share this question
or