Group by resource with custom Advanced Form

2 posts, 0 answers
  1. ADS Development Team
    ADS Development Team avatar
    8 posts
    Member since:
    Jun 2010

    Posted 17 Nov 2010 Link to this post

    Hello Telerik,

    We have followed the example to Replace the Edit Form and have had decent success so far. We now have a customized Advanced Form appearing in a RadWindow.

    We would next like to group the appointments by a resource on the scheduler, but I'm not sure how this can be achieved - we are aware of the example provided for grouping by resource, but it assumes the developer is using the default templates.

    What happens in the case that a custom advanced form is being used?

    Regards
  2. ADS Development Team
    ADS Development Team avatar
    8 posts
    Member since:
    Jun 2010

    Posted 17 Nov 2010 Link to this post

    Update: it is possible to add the resource type from the code behind as such:

    ResourceType rtRooms = new ResourceType("Room");
    rtBays.DataSource = dsBays.GetBays();
    rtBays.ForeignKeyField = "RoomID";
    rtBays.KeyField = "ID";
    rtBays.TextField = "Description";
    RadScheduler1.ResourceTypes.Add(rtRooms);
    RadScheduler1.GroupBy = "Room";

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top