RadCalender error with RadScheduler

7 posts, 0 answers
  1. Levi
    Levi avatar
    9 posts
    Member since:
    Jun 2014

    Posted 27 Jun 2014 Link to this post

    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!
  2. Levi
    Levi avatar
    9 posts
    Member since:
    Jun 2014

    Posted 27 Jun 2014 in reply to Levi Link to this post

    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?
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Dess
    Admin
    Dess avatar
    1609 posts

    Posted 02 Jul 2014 Link to this post

    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
     
    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.
     
  5. Levi
    Levi avatar
    9 posts
    Member since:
    Jun 2014

    Posted 02 Jul 2014 in reply to Dess Link to this post

    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.
  6. Dess
    Admin
    Dess avatar
    1609 posts

    Posted 04 Jul 2014 Link to this post

    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
     
    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.
     
  7. Cesar
    Cesar avatar
    1 posts
    Member since:
    Jun 2014

    Posted 11 Dec 2014 in reply to Dess Link to this post

    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
  8. Dess
    Admin
    Dess avatar
    1609 posts

    Posted 16 Dec 2014 Link to this post

    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
     

    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.

     
Back to Top
UI for WinForms is Visual Studio 2017 Ready