Hi,
I have a layout issue with my wpf radcontrol calendar.
when I initially load appointments in the scheduler everything works fine. but when I reload the appointments the layout sometimes becomes a mess in a lot of different ways, see my screenshot.
I need the possibility to reload appointments because they can also be changed in another application.
is there a way to fix this behavior or am I doing something wrong here?
I can't really pinpoint the issue but it looks like all views become messed up except for the currently selected one when I update my appointments.
Thank you for replying
6 Answers, 1 is accepted
We had a similar issue in RadScheduleView when .Net 4.6.2 is installed on the machine - when the AppointmentsSource is changed at runtime, the GroupHeaders are not correctly recycled.
This issue is already fixed in R3 2016 release of UI for WPF.
Could you please check whether that''s the case at your side?
Regards,
Yana
Telerik by Progress
Hi Yana,
thank you for your reply, I don't have .net 4.6.2 installed, I have however .net 4.6.0 and 4.6.1 installed. The application is running on .net 4.5.0
I tried to update telerik to version 2016.3.914 and 2016.3.1024 but both gave me the following error when starting the application
"An unhandled exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll
Additional information: 'The invocation of the constructor on type 'Telerik.Windows.Controls.RichTextBoxUI.StylesGallery' that matches the specified binding constraints threw an exception.' Line number '379' and line position '44'.
System.Windows.Markup.XamlParseException was unhandled
Message: An unhandled exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll
Additional information: 'The invocation of the constructor on type 'Telerik.Windows.Controls.RichTextBoxUI.StylesGallery' that matches the specified binding constraints threw an exception.' Line number '379' and line position '44'.
"
I tried what happens when I remove the "StylesGallery" elements but then I just end up having the same error for another element. so I moved back to 2016.2.613 again and everything works fine again except for the calendar layout.
unfortunately I was unable to test the radSchedular with the new version of telerik. I hope you can help me out here somehow.
The best option is to upgrade to R3 2016 and test whether the issue with the ScheduleView is fixed. So, I'd ask you to send us more details/sample code on the issue with the RichTextBoxUI.StylesGallery, so we rto be able to investigate what could cause it.
Looking forward to your reply.
Regards,
Yana
Telerik by Progress
Hi Yana,
I have it working now with the latest version of telerik. The calendar works fine and I'm not sure what failed.
I removed this part "<telerik:StylesGallery AssociatedRichTextBox="{Binding AssociatedRichTextBox, Mode=OneWay}" />"
everywhere in the xamls and now everything seems to be fine.
I'm not sure what this part does. In a testproject of mine, this part wasn't an issue.
I would like to send you some more code but I don't know what I should send and I don't want to send the complete project.
regards Bart
You could paste here in this thread the xaml you're using as well as any custom styles. Also are you using Implicit Styles to set a theme to the Telerik controls?
Regards,
Yana
Telerik by Progress
Hi Yana,
I think we can close this post. I removed the custom style and now the issues are gone.
we don't need those custom styles in the project anymore so for me it's no problem.