Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Shift+Click on Item results in Null Ref (Read 2936 times)
tomk
YaBB Newbies
*
Offline


Yaos!

Posts: 29
Joined: Apr 25th, 2006
Shift+Click on Item results in Null Ref
Aug 16th, 2006 at 12:18pm
Print Post  

In timetable view we are using a custom item class derived from Appointment.  It may be worth noting that we are not interesting in the serialization built-in to the calendar for storing these items (we are SOA), so we have not overriden the LoadFrom and SaveTo methods (which may be contributing to this error).

If you shift+click on one of our Items in a Timetable grid, we get an unhandled thread exception.  What should we do to eliminate this err? Is there anyway to programmatically remove this cloning feature? We have built our own copy/paste functions so no need to utilize this functionality even though I can see its utility.
Thanks again for your help.


Error details:
Message: "Object reference not set to an instance of an object."
Source:"Calendar"
Stack:
   at MindFusion.Scheduling.Appointment.Clone()
   at MindFusion.Scheduling.WinForms.Calendar.OnMouseDown(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Shift+Click on Item results in Null Ref
Reply #1 - Aug 16th, 2006 at 1:15pm
Print Post  
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint