Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
230
Problems creating an appointment
posted

Hello,

I am having trouble with this line of code only on a MAC and on any browsers on the Mac.

this.DM.DisplayActivityDialog(Infragistics.Controls.Schedules.ActivityType.Appointment,

                        this.gridDisabled,

                        this.DM.ResourceItems[0].Calendars[0],

                        new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 8, 0, 0).ToUniversalTime(),

                        new TimeSpan(1, 0, 0),

                        false);

I get this error "Object Reference no set to an instance of an object".  This exact code works fine on a windows computer.

Please help,

Bill

  • 27093
    posted

    Hello Bill,

    I am just checking if you got this worked out or you still require any assistance or clarification on the matter.

  • 27093
    posted

    Hello Bill,

     

    I have been looking into your issue, however when I executed your code on MAC machine there was no exception whatsoever and the dialog appeared as usual. I was wondering if you could please provide me with a bit more information regarding your project and the version of our product that you are using so I can replicate this more accurately.

     

    Looking forward to hearing from you.