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)
Hello ddally,
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.
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.
Please advise.
Thanks.
Fabian Zandomeni
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.
Hi Developers, I did exactly the same workaround which Mr. Peter Felgate suggested. As an addition I had to set the property of the UltraCalendarCombo (UCC) control to'DateButtonAreaVisible = false' for hiding the button 'Today'.
The workaround: ultraCalendarCombo1.Value = e.Day.Date; Did not prevent the exception if the button today was pressed. Many thanks to Mr. Peter Felgate for his great hint.
RegardsFrank
Yes the today button has problems because of the active day issue. The details are above