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
320
Adding appointment to UltraDayView
posted

Hello,

I am getting an error, object reference not set, it happens after I add an appointment to the ultradayview. Below is the full error, any ideas why this is happening?

System.NullReferenceException: Object reference not set to an instance of an object.
at Infragistics.Win.UltraWinSchedule.DayView.AppointmentUIElement.PositionChildElements()
at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
at Infragistics.Win.UIElement.VerifyChildElements()
at Infragistics.Win.UltraWinSchedule.DayView.DayAreaUIElement.PositionChildElements()
at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
at Infragistics.Win.UIElement.VerifyChildElements()
at Infragistics.Win.UltraWinSchedule.DayView.MainUIElement.PositionChildElements()
at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
at Infragistics.Win.UIElement.DrawElement(UIElementDrawParams& defaultDrawParams)
at Infragistics.Win.UIElement.DrawHelper(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode, Boolean clipText, Boolean forceDrawAsFocused)
at Infragistics.Win.ControlUIElementBase.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode, Size elementSize)
at Infragistics.Win.ControlUIElementBase.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode)
at Infragistics.Win.UltraControlBase.OnPaint(PaintEventArgs pe)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Parents
  • 29105
    Offline posted

    Hello Matthew,

    I am going to require more information regarding your application at this time.

    Please provide me with the following:

    1. What seems to trigger this issue?
    2. Can this issue be reproduced? How? Please provide steps.
    3. Is this a runtime or design time issue?
    4. What does your application consist of? Provide screenshots
    5. Can the behavior be reproduced in more than one environment?
    6. Are you using latest service release from our current release Infragistics 2014 Volume 1? (recommended install)

    To learn how to download the latest service release, please visit the following forum post: http://ko.infragistics.com/community/forums/t/29398.aspx

    In order to properly assist you I require an isolated sample that demonstrates the issue.

    I attached a sample for you (see below), if you cannot provide one. Please modify it attach it back here.

    Let me know if you have any additional questions.

    DayViewTest.zip
Reply Children
No Data