I am building a RadScheduler application via a demo that I found online by a member of the Telerik team. I have everything working but when I try and expand the calendar to 3 Rows (MultiViewRows = 3) and attempt to save it, it throws the following error:
Property accessor 'ZoomLevel' on object 'RadCalendar1' threw the following exception: 'Object reference not set to an instance of an object.'
Thanks for your help!
Property accessor 'ZoomLevel' on object 'RadCalendar1' threw the following exception: 'Object reference not set to an instance of an object.'
Thanks for your help!
6 Answers, 1 is accepted
0
Levi
Top achievements
Rank 1
answered on 27 Jun 2014, 07:38 PM
Before you ask, I should probably give more details. I have a radCalendar, a radSchedulerNavigator, and a radScheduler. I have the radCalendar changing the radSchedular when you click on a date with the Navigator on top of the radScheduler. I have RadScheduler1.ActiveView.StartDate = RadCalendar1.SelectedDate() to handle the event. I don't really think this has anything to do with it, but y'all are the experts. This is using Winforms and VS2013 and Visual Studio is the application throwing the error. If I switch the MultiViewRows back to 1 on the radCalendar, the issue goes away. Any thoughts?
0
Hello Levi,
Thank you for writing.
I confirm that this is an issue with our RadCalendar. I have logged it in our Feedback Portal. You can track its progress, subscribe for status changes and add your vote/comment to it on the following link - Feedback Item.
I have also updated your Telerik points.
Currently, due to the specificity of the issue, the possible solution that I can suggest is to set the MultiViewRows property to 1 in combination with HeaderNavigationMode.Zoom or keep the MultiViewRows set to 3, but keep the default HeaderNavigationMode.
I hope this information helps. Should you have further questions, I would be glad to help.
Regards,
Desislava
Telerik
Thank you for writing.
I confirm that this is an issue with our RadCalendar. I have logged it in our Feedback Portal. You can track its progress, subscribe for status changes and add your vote/comment to it on the following link - Feedback Item.
I have also updated your Telerik points.
Currently, due to the specificity of the issue, the possible solution that I can suggest is to set the MultiViewRows property to 1 in combination with HeaderNavigationMode.Zoom or keep the MultiViewRows set to 3, but keep the default HeaderNavigationMode.
I hope this information helps. Should you have further questions, I would be glad to help.
Regards,
Desislava
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
Levi
Top achievements
Rank 1
answered on 02 Jul 2014, 01:48 PM
If I set the MultiViewRows to 3, it doesn't see to matter what I do with the NeaderNavigationMode. On my end, it seems to throw the same error. I guess I will have to be patient which is fine, but I really like the MultiViewRows functionality especially for the people I am writing this application for. Thanks for your help.
0
Hello Levi,
Thank you for writing back.
By default the HeaderNavigationMode property is set to HeaderNavigationMode.Popup. If the MultiViewRows property is set to 3 and the navigation mode is HeaderNavigationMode.Popup, I am unable to reproduce the error. It occurs only when the RadCalendar has HeaderNavigationMode.Zoom and the visible months are more than 1. Please ensure that the HeaderNavigationMode is not modified at design time to Zoom, as a result of which you are obtaining the error. If you are still experiencing any difficulties, could you please specify the exact steps how to reproduce the issue when the HeaderNavigationMode is set to Popup? Thus, we would be able to investigate the precise case and assist you further. Thank you in advance.
I am looking forward to your reply.
Regards,
Desislava
Telerik
Thank you for writing back.
By default the HeaderNavigationMode property is set to HeaderNavigationMode.Popup. If the MultiViewRows property is set to 3 and the navigation mode is HeaderNavigationMode.Popup, I am unable to reproduce the error. It occurs only when the RadCalendar has HeaderNavigationMode.Zoom and the visible months are more than 1. Please ensure that the HeaderNavigationMode is not modified at design time to Zoom, as a result of which you are obtaining the error. If you are still experiencing any difficulties, could you please specify the exact steps how to reproduce the issue when the HeaderNavigationMode is set to Popup? Thus, we would be able to investigate the precise case and assist you further. Thank you in advance.
I am looking forward to your reply.
Regards,
Desislava
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
Cesar
Top achievements
Rank 1
answered on 11 Dec 2014, 10:07 PM
Hi!
I'm having the same issue, just happend when i change
AllowMultipleSelect = true
AllowMultipleView = true
MultipleViewRow = 4
MultipleVieColumn = 3
Try to save/run project and exception is on float
I'm having the same issue, just happend when i change
AllowMultipleSelect = true
AllowMultipleView = true
MultipleViewRow = 4
MultipleVieColumn = 3
Try to save/run project and exception is on float
0
Hello Cesar,
Thank you for writing.
The following feedback item was addressed in Q2 2014 SP1: FIX. RadCaledar - NullReferenceException when clicking the CalendarNavigationElement. I have tried to reproduce the issue you are facing with the Q2 2014 SP1 but without any success. Please refer to the attached gif file. Am I missing something? I have attached my sample project. Could you please specify the exact steps how to reproduce the error? Once we succeed in reproducing the problem on our end we can make adequate analysis of the problem and assist you further. Thank you in advance.
I am looking forward to your reply.
Regards,
Desislava
Telerik
Thank you for writing.
The following feedback item was addressed in Q2 2014 SP1: FIX. RadCaledar - NullReferenceException when clicking the CalendarNavigationElement. I have tried to reproduce the issue you are facing with the Q2 2014 SP1 but without any success. Please refer to the attached gif file. Am I missing something? I have attached my sample project. Could you please specify the exact steps how to reproduce the error? Once we succeed in reproducing the problem on our end we can make adequate analysis of the problem and assist you further. Thank you in advance.
I am looking forward to your reply.
Regards,
Desislava
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.