RadScheduler - Resources are not showing

7 posts, 0 answers
  1. Yasir Chaudhry
    Yasir Chaudhry avatar
    2 posts
    Member since:
    Oct 2009

    Posted 31 Dec 2009 Link to this post

    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,

     

  2. rizu mussa
    rizu mussa avatar
    3 posts
    Member since:
    Dec 2009

    Posted 01 Jan 2010 Link to this post


    try this:


    http://blogs.telerik.com/RobertShoemate/Posts/09-11-05/radcontrols_for_winforms_q3_2009_-_radscheduler_resource_grouping.aspx
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Yasir Chaudhry
    Yasir Chaudhry avatar
    2 posts
    Member since:
    Oct 2009

    Posted 04 Jan 2010 Link to this post

    I did try this link but still unable to see my resources on the scheduler. Is there any limitation in trial version?
  5. Nikolay
    Admin
    Nikolay avatar
    1804 posts

    Posted 06 Jan 2010 Link to this post

    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.
  6. George
    George avatar
    6 posts
    Member since:
    Jul 2011

    Posted 03 Dec 2012 Link to this post

    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
  7. George
    George avatar
    6 posts
    Member since:
    Jul 2011

    Posted 03 Dec 2012 Link to this post

    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
  8. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 06 Dec 2012 Link to this post

    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.
Back to Top
UI for WinForms is Visual Studio 2017 Ready