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

How to group at one level with two resource types.

2 Answers 41 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Iron
Richard asked on 15 Mar 2017, 09:25 PM

Here is my issue:

 

Attached is a partial picture of my app.

In the left, at the bottom, I have assistants and providers in two different resource types, so I can select one of them or both when editing an appointment.

What I need is to group the appointments with assistants and providers at the same level, not one as subgroup of the other.

I added a resourcetype of user, where I listed both the previous ones, but then when the editor pops up, it also shows a combo box for users, which I don't want.

Is there a way of doing this?

 

Thanks.

2 Answers, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 1
Iron
answered on 16 Mar 2017, 07:03 PM

Well, it seems it was more a XAML question than a Telerik question.

I kept the User ResourceType, added a Visibility property to all my derived ResourceType classes, then binded it to the visibility property for the grid in the Editor Template.

Best regards.

0
Yana
Telerik team
answered on 17 Mar 2017, 07:38 AM
Hi Richard,

I'm glad you've managed to find a suitable solution. Indeed, you need to customize the EditAppointmentDialog and hide some controls in it ( Resources ComboBoxes in this case) according to the specific requirements you have.

Regards,
Yana
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
ScheduleView
Asked by
Richard
Top achievements
Rank 1
Iron
Answers by
Richard
Top achievements
Rank 1
Iron
Yana
Telerik team
Share this question
or