If I update the Resources for my ResourceType, the view only changes if I flip from one ViewDefinition to another and back again. How can I have the view update with the new resources without having to toggle the active view?
Thanks,
Rod
Thanks,
Rod
6 Answers, 1 is accepted
0
Hello Rod Yager,
We will fix this in one of the releases to come. Thank you for the involvement! Greetings,
Teodor
the Telerik team
Thank you for contacting us.
This appears to be a bug in the current version of RadScheduleView. What we can suggest you for now is to refresh the view by code after you add a Resource to a particular ResourceType. Below is a possible solution:
var groupDescriptionsSource =
this
.scheduleView.GroupDescriptionsSource;
this
.scheduleView.ClearValue(RadScheduleView.GroupDescriptionsSourceProperty);
this
.scheduleView.SetValue(RadScheduleView.GroupDescriptionsSourceProperty, groupDescriptionsSource);
We will fix this in one of the releases to come. Thank you for the involvement! Greetings,
Teodor
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0

Troy
Top achievements
Rank 1
answered on 08 Nov 2011, 05:07 AM
This fix seemed to work fine for the Q1 2011 release but appears to be broken now in the Q2 2011 release. If I remove/add resources the original group descriptions are still shown.
0
Hello Troy,
To update the groups I suggest you add/remove the whole ResourceType ,not only some of its resources.
Best wishes,
Rosi
the Telerik team
To update the groups I suggest you add/remove the whole ResourceType ,not only some of its resources.
Best wishes,
Rosi
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0

Troy
Top achievements
Rank 1
answered on 09 Nov 2011, 03:18 AM
I have tried both removing then adding the resource type as well as clearing and setting the ResourceTypesSource property on the schedule view directly without any luck.
0

Troy
Top achievements
Rank 1
answered on 09 Nov 2011, 04:33 AM
I have found the culprit but I don't yet know how to fix the issue. I am setting the GroupHeaderContentTemplateSelector property. When I do not set that property things seem to work fine. However, I will state again that this worked perfectly in the previous release.
0
Hi Troy,
I suggest you open a support ticket and send us sample running project illustrating the issue. We will review it and provide you with more details.
Regards,
Rosi
the Telerik team
I suggest you open a support ticket and send us sample running project illustrating the issue. We will review it and provide you with more details.
Regards,
Rosi
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>