Timeline shows no records

3 posts, 0 answers
  1. Chip
    Chip avatar
    2 posts
    Member since:
    Sep 2011

    Posted 23 Nov 2011 Link to this post

    When I set a group by on the Timeline View I lose my records. I am using a List<ScheduleInfo> as my datasource 

                    List<ScheduleInfo> appointments = new List<ScheduleInfo>();

                    appointments.Add(new ScheduleInfo(new DateTime(2011, 11, 18, 8, 00, 00),
                                                        new DateTime(2011, 11, 22, 13, 30, 00),
                                                        "Course: 1234 - Instructor: Me",
                                                        "Dorm 1"));
                    appointments.Add(new ScheduleInfo(
                                                        new DateTime(2011, 11, 15, 8, 00, 00),
                                                        new DateTime(2011, 11, 20, 13, 30, 00),
                                                        "Course: 4321 - Instructor: Me",
                                                        "Dorm 2"));
                    appointments.Add(new ScheduleInfo(
                                                        new DateTime(2011, 11, 15, 8, 00, 00),
                                                        new DateTime(2011, 11, 20, 13, 30, 00),
                                                        "Course: 4321 - Instructor: Me",
                                                        "Dorm 1"));


                    RadScheduler1.DataSource = appointments;
                    RadScheduler1.DataBind();

    And setting my GroupBy to the Dorm attribute of the ScheduleInfo

                <TimelineView NumberOfSlots="28" ColumnHeaderDateFormat="dd"  
                        GroupBy="Dorm" GroupingDirection="Vertical" HeaderDateFormat="MM/dd/yyyy"  />    

    Any ideas why my records are disappearing?

    Thanks,

    Chip
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 24 Nov 2011 Link to this post

    Hi Chip,

    Can you open s support ticket and send us a simple working demo of the issue?


    Best wishes, Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. Chip
    Chip avatar
    2 posts
    Member since:
    Sep 2011

    Posted 28 Nov 2011 Link to this post

    Thanks Peter ... I found the problem. I didn't have a ResourceType to match the GroupBy.
Back to Top