Display resources from different types on the same / shared level

4 posts, 0 answers
  1. Ates
    Ates avatar
    15 posts
    Member since:
    Nov 2010

    Posted 18 Mar 2015 Link to this post

    Hello

    I am using ScheduleView and have a few questions regarding resources.
    I have multiple resource types (users, rooms, etc).
    Preferrably I would like to group these resources by date.

    This is possible using the following programming:

    <schedule:RadScheduleView.GroupDescriptionsSource>
        <schedule:GroupDescriptionCollection>
            <schedule:DateGroupDescription />
            <schedule:ResourceGroupDescription ResourceType="Rooms" />
            <schedule:ResourceGroupDescription ResourceType="User" />
        </schedule:GroupDescriptionCollection>
    </schedule:RadScheduleView.GroupDescriptionsSource>


    The result is shown in image 1.

    However, I would like to have all resources on one shared level and not grouped below one another - see image 2.

    I would also like to keep the option to have several resource-types with individual resources. Because the selection of resources in the edit-window should be done via separate combo-box selecting options - view image 3.

    Thank you very much for your help and information,

    Sincerely,
    A. Kasar
  2. Kalin
    Admin
    Kalin avatar
    1209 posts

    Posted 23 Mar 2015 Link to this post

    Hello Ates,

    If you would need all the Resources to appear on single row - you should use only one ResourceType containing all the needed Resources. However this will end up with a single ComboBox shown in the edit Appointment dialog. If you need to show two ComboBox controls you can try to modify the EditAppoinemntDialog and implement a custom logic that would be setting the selected item as Resource of the Appointment.

    Hope this helps.

    Regards,
    Kalin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Ates
    Ates avatar
    15 posts
    Member since:
    Nov 2010

    Posted 18 Aug 2015 in reply to Kalin Link to this post

    Hello Kalin

    I have tried to modify the EditAppoinemntDialog, but without success. Can you give me a simple example how I can do this?

    Sincerely,
    A. Kasar
  5. Kalin
    Admin
    Kalin avatar
    1209 posts

    Posted 20 Aug 2015 Link to this post

    Hi Ates,

    I have attached a sample project with the ControlTemplate of the EditAppointment dialog extracted. Note that the project uses Implicit Styles and OfficeBlack theme.

    Hope this helps.

    Regards,
    Kalin
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top