Hi,
I have just started using the RadScheduleView (VB.net) following the database example in the "xaml-skd-master".
Everything seems to be working ok except for two problems, which both exist in the example project and my project.
1. The TimeMarker doesn't seem to display any brush colours, although as far as I can see they do exist at TimeMarker.TimeMarkerBrushName. Please see attached screenshot
2. The low and high importance option don't seem to be saving and displaying when selecting in the dialogue (and clicking ok).
I have run both the VB example and the C# example and the C# example seems to run fine.
Other examples in the sdk seem to work however these don't use a database as a source.
Looking at the TimeMarker.cs and TimeMarker.vb files, the code looks quite different, with references to TimeMarketBrush not appearing in the TimeMarker.vb file. Is the VB example for an older version?
Could someone help me get these features working.
Regards,
Shaun
I have just started using the RadScheduleView (VB.net) following the database example in the "xaml-skd-master".
Everything seems to be working ok except for two problems, which both exist in the example project and my project.
1. The TimeMarker doesn't seem to display any brush colours, although as far as I can see they do exist at TimeMarker.TimeMarkerBrushName. Please see attached screenshot
2. The low and high importance option don't seem to be saving and displaying when selecting in the dialogue (and clicking ok).
I have run both the VB example and the C# example and the C# example seems to run fine.
Other examples in the sdk seem to work however these don't use a database as a source.
Looking at the TimeMarker.cs and TimeMarker.vb files, the code looks quite different, with references to TimeMarketBrush not appearing in the TimeMarker.vb file. Is the VB example for an older version?
Could someone help me get these features working.
Regards,
Shaun
5 Answers, 1 is accepted
0
Shaun
Top achievements
Rank 1
answered on 04 Jun 2014, 08:47 AM
What a difference a fresh day and eyes make.
The TimeMarker.vb file is missing the following code.
I will keep looking into the "low and high importance" options
​
The TimeMarker.vb file is missing the following code.
I will keep looking into the "low and high importance" options
​
Private m_timeMarkerBrush As Brush Public Property TimeMarkerBrush() As Brush Get If Me.m_timeMarkerBrush Is Nothing Then Me.m_timeMarkerBrush = SolidColorBrushHelper.FromNameString (Me.TimeMarkerBrushName) End If Return Me.m_timeMarkerBrush End Get Set(value As Brush) Me.TimeMarkerBrushName = TryCast(Me.m_timeMarkerBrush, SolidColorBrush).Color.ToString().Substring(1) Me.m_timeMarkerBrush = value End Set End Property
0
Shaun
Top achievements
Rank 1
answered on 05 Jun 2014, 08:34 AM
I have half fixed the low and high importance.
The following code in SqlAppointment.vb is incorrect.
It should be
This does fix the database relationships but brings up another problem.
When using the theme ExpressionDark the icons for the importance do not show on the schedular, but they do if i use another theme like Office2013.
Could this be fixed in the next release?
The following code in SqlAppointment.vb is incorrect.
Private Property Importance_ As Importance Implements IExtendedAppointment.Importance Get Return Me.Importance End Get Set(value As Importance) Me.Importance = Importance End SetEnd PropertyIt should be
Private Property Importance_ As Importance Implements IExtendedAppointment.Importance Get Return Me.Importance End Get Set(value As Importance) Me.Importance = value End Set End PropertyThis does fix the database relationships but brings up another problem.
When using the theme ExpressionDark the icons for the importance do not show on the schedular, but they do if i use another theme like Office2013.
Could this be fixed in the next release?
0
Hi Shaun,
Thank you for pointing out these issues in our VB examples - I am fixing them right away.
As to the issue with the Expression_Dark theme - I have tested our Theming example as well as the VB Database example (please check the attached screenshot), but I did not manage to reproduce it. How do you set the theme, do you have any custom styles? Also can you confirm that you're using the latest Q1 2014 SP release?
Looking forward to your reply.
Regards,
Yana
Telerik
Thank you for pointing out these issues in our VB examples - I am fixing them right away.
As to the issue with the Expression_Dark theme - I have tested our Theming example as well as the VB Database example (please check the attached screenshot), but I did not manage to reproduce it. How do you set the theme, do you have any custom styles? Also can you confirm that you're using the latest Q1 2014 SP release?
Looking forward to your reply.
Regards,
Yana
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
0
Shaun
Top achievements
Rank 1
answered on 06 Jun 2014, 08:53 AM
Hi Yana,
I am currently using version v.2014.1.331.45
I have currently made no alterations to the standard theme
files as I want users to be able to switch theme at will.
I think we are looking at different icons here I am talking
about the importance icons on the main view not the edit dialogue.
I have attached two images, the first shows my program running
as Expression_Dark with the icons missing, and the second runs Office 2013 with
the icons showing which I have highlighted with black boxes.
Regards
0
Hello Shaun,
I am sorry for my misunderstanding.
Actually by design the Importance marker is not displayed inside the Appointment in most of the themes. Only in our newest themes Windows8, Windows8Touch and Office2013 we added it in the Appointment template. In order to show it in the Expression_Dark theme, you should customize the AppointmentStyleSelector and manually add it to the ControlTemplate.
I hope this information will be helpful.
Regards,
Yana
Telerik
I am sorry for my misunderstanding.
Actually by design the Importance marker is not displayed inside the Appointment in most of the themes. Only in our newest themes Windows8, Windows8Touch and Office2013 we added it in the Appointment template. In order to show it in the Expression_Dark theme, you should customize the AppointmentStyleSelector and manually add it to the ControlTemplate.
I hope this information will be helpful.
Regards,
Yana
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.