StrataFrame Forum

Anyone using UltraWinSchedule?

http://forum.strataframe.net/Topic17684.aspx

By Michael Reese - 7/7/2008

I am using WinSchedule. I am using it bound to a BBS. Everything is fine except when I try to bind the allproperties databindingmember.allproperties to a column which is configured as a VarBinary = Max. I am getting the following error when loading.

Michael

**********************************

ArgumentNullException
  Buffer cannot be null.
Parameter name: buffer

Source     : mscorlib

Stack Trace:
   at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable)
   at System.IO.MemoryStream..ctor(Byte[] buffer)
   at Infragistics.Win.UltraWinSchedule.Appointment.FromBytes(Byte[] bytes, Binder binder)
   at Infragistics.Win.UltraWinSchedule.Appointment.Infragistics.Win.UltraWinSchedule.IDataBoundItem.DirtyItem(Boolean checkValidity)
   at Infragistics.Win.UltraWinSchedule.AppointmentsDataBinding.DataBoundItemCreator(Int32 listIndex, Object listObject, Boolean& isValidItem)
   at Infragistics.Win.UltraWinSchedule.DataBindingsBase.FullSynchronization(IList itemList, IList boundList)
   at Infragistics.Win.UltraWinSchedule.DataBindingsBase.SyncListObjects()
   at Infragistics.Win.UltraWinSchedule.DataBindingsBase.SyncCallback()
   at Infragistics.Win.UltraWinSchedule.UltraCalendarInfo.get_Appointments()
   at Infragistics.Win.UltraWinSchedule.AppointmentsSubsetCollection.VerifyCollectionIsUpToDate()
   at Infragistics.Win.UltraWinSchedule.AppointmentsSubsetCollection.get_Count()
   at Infragistics.Win.UltraWinSchedule.DayView.DayUIElement.CreateAppointmentElements(UIElementsCollection oldElements)
   at Infragistics.Win.UltraWinSchedule.DayView.DayUIElement.PositionChildElements()
   at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
   at Infragistics.Win.UIElement.VerifyChildElements(Boolean recursive)
   at Infragistics.Win.UIElement.VerifyChildElements()
   at Infragistics.Win.UltraWinSchedule.DayView.DayAreaUIElement.PositionChildElements()
   at Infragistics.Win.UltraWinSchedule.DayView.MainUIElement.PositionChildElements()
   at Infragistics.Win.UltraWinSchedule.UltraDayView.OnResize(EventArgs eventArgs)
   at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
   at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
   at System.Windows.Forms.Control.UpdateBounds()
   at System.Windows.Forms.Control.WmWindowPosChanged(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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

By Trent L. Taylor - 7/7/2008

Sorry, I am not going to be much help.  We wrote our own scheduling controls for our medical software due to a number of issues and limited extensibility on these controls.  So it has been quite a while since I even dropped one of their scheduling controls on a form.  This might be one better directed towards their forum since they understand the inner workings of the control.
By Michael Reese - 7/7/2008

Thanx Trent!

Wish I had the ability to roll my own. These controls present one challenge after another. I am so close. I have a lot of the scheduling working. Just this stupid issue with the column type!

Michael