I updated to the latest release and now when I click on a calendarcombo date picker the following exception is thrown
Can't access the Value property when not in edit mode. source Infragistics4.Win.UltraWinSchedule.v12.2
at Infragistics.Win.UltraWinSchedule.CalendarCombo.CalendarComboEditor.SetEditorValueInternal(Object newVal) at Infragistics.Win.UltraWinSchedule.UltraCalendarCombo.SetAppropriateValue(Object editorValue) at Infragistics.Win.UltraWinSchedule.UltraCalendarCombo.HandleDateButtonAction(DateButton db) at Infragistics.Win.UltraWinSchedule.CalendarCombo.DateButtonUIElement.OnClick() at Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e) at Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e) at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.RunDialog(Form form) at System.Windows.Forms.Form.ShowDialog(IWin32Window owner) at Schedule.Management.MainForm.SearchForObjects() in C:\Dev\PS\CS\Schedule Management\MainForm.cs:line 692 at Schedule.Management.MainForm.NewSearch() in C:\Dev\PS\CS\Schedule Management\MainForm.cs:line 676 at Schedule.Management.MainForm.newSearch_Click(Object sender, EventArgs e) in C:\Dev\PS\CS\Schedule Management\MainForm.cs:line 667 at System.Windows.Forms.Control.OnClick(EventArgs e) at Infragistics.Win.Misc.UltraButtonBase.OnClick(EventArgs e) at Infragistics.Win.Misc.UltraButton.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(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)
Thank you for contacting Infragistics community.
This has been already submitted into our internal system under the following number: 134019
I have already created a private case for you: CAS-111249-Y1R7K0.Once this gets fixed you will be notified here and through the case as well.
Please feel free to let us know if we could assist you further.
hi ddally, I have a workaround here:
the UltraCalendarCombo (UCC) control has it's CalenderInfo member set to an instance of the UltraCalendarInfo (UCI) class
I have attached a handler for the AfterActiveDayChanged event on the UCI member variable.
in this handler I set the value of the UCC contol as follows:
ultraCalendarCombo1.Value = e.Day.Date;
This prevents the error you described occurring
If i recall correctly when we did something similar it worked for the ActiveDay event, but it still fails on the selected day event.
The other item is it changes the Today buttons behavior when using active day vs selected day. This is from memory, so I will go back and try it for now we are going to be very distrustful of infragistics upgrades and are rolling that service pack out.
Is there a permanent fix for this issue.
I updated to the latest version of Netadvantage for winforms and now are getting several problems with applications in production.
Hello Fabian and all,
Thank you for posting in the Infragistics community.
Our development team is working on this issue, and once it is fixed I will update you through the forums with this information.
If you would like to receive a private notification, please let me know and I will create a private cases for the ones that would like.
Please feel free to let us know if you could do something else for you.