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

No Appointments shown in grouped View

3 Answers 75 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Stefan
Top achievements
Rank 1
Stefan asked on 12 Nov 2015, 03:58 PM

Hi,

 I've implemented the ScheduleView via my own models implementing the IAppointment interface.

In the normal Week view everything works fine, but as soon as I add a grouped view to the ScheduleView no appointments are displayed (although they are correctly loaded in the viewmodel).

The XAML I add:

<telerik:RadScheduleView.GroupDescriptionsSource>
                <telerik:GroupDescriptionCollection>
                    <telerik:ResourceGroupDescription ResourceType="Mitarbeiter"/>
                    <telerik:DateGroupDescription />
                </telerik:GroupDescriptionCollection>
</telerik:RadScheduleView.GroupDescriptionsSource>

 

Any suggestion what I'm doing wrong?

 thx

3 Answers, 1 is accepted

Sort by
0
Stefan
Top achievements
Rank 1
answered on 13 Nov 2015, 08:39 AM

All my appointments are shown in the Null Group.

But when I open a appointment the correct Resources are visible in the appointment window.

When I drag&drop the appointment onto another resource, this resource is added to the appointment (and visible in the appointment window), but the appointment itself is still displayed in the Null Group ...

0
Nasko
Telerik team
answered on 13 Nov 2015, 02:42 PM
Hello Stefan,

From the provided description we could not tell what might be causing that strange and unexpected behavior of RadScheduleView and we are not able to reproduce it on our side.

Could you please, try to isolate the issue in a sample project and send it back to us - thus we could be able to continue our investigation and provide you with prompt solution? If you are not able to provide a sample project, please provide us a code-snippets of the custom Appointment, the "​Mitarbeiter" Resource and the XAML declaration of RadScheduleView?

We are looking forward to hearing from you.

Regards,
Nasko
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
0
Stefan
Top achievements
Rank 1
answered on 16 Nov 2015, 12:34 PM

Hi,

 I figured what I was doing wrong, in the property

string IResource.ResourceType

of the ResourceModel I was returning the name of the resource and not the name of the ResourceType.

 

No everything seems to work fine.

Thanks and kind regards​

Tags
ScheduleView
Asked by
Stefan
Top achievements
Rank 1
Answers by
Stefan
Top achievements
Rank 1
Nasko
Telerik team
Share this question
or