We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

DateTimePickerAdv: ArgumentOutOfRangeException

Using VS 2005, Syncfusion 4.102.0.50. Add a DateTimePickerAdv to a simple form. Change the date to January 31st of any year. Then pull-down the picker combo, right-click on the month, and change it to February. The control appears to try to set the date to February 31 and throws an exception. What gives? Do I need a patch? Thanks, g Here''s the exception and stack trace info: 1) Exception Information ********************************************* Exception Type: System.ArgumentOutOfRangeException Message: Year, Month, and Day parameters describe an un-representable DateTime. ActualValue: NULL ParamName: NULL Data: System.Collections.ListDictionaryInternal TargetSite: Int64 DateToTicks(Int32, Int32, Int32) HelpLink: NULL Source: mscorlib StackTrace Information ********************************************* at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day) at System.DateTime..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second, Int32 millisecond) at System.Globalization.GregorianCalendar.ToDateTime(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second, Int32 millisecond, Int32 era) at System.Globalization.Calendar.ToDateTime(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second, Int32 millisecond) at Syncfusion.Windows.Forms.Tools.DateTimePickerAdv.CultureSpecifiecDateTime.UpdateDateTime() at Syncfusion.Windows.Forms.Tools.DateTimePickerAdv.CultureSpecifiecDateTime.get_DateTime() at Syncfusion.Windows.Forms.Tools.MonthCalendarAdv.ItemClick(Object sender, EventArgs e) at Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.OnItemClicked(EventArgs args) at Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.PerformClick() at Syncfusion.Windows.Forms.Tools.XPMenus.MenuGrid.NotifyItem(BarItem item) at Syncfusion.Windows.Forms.Tools.XPMenus.MenuGrid.HidePopup(PopupCloseType popupCloseType) at Syncfusion.Windows.Forms.Tools.XPMenus.MenuGrid.ProcessItemClick(BarItem item) at Syncfusion.Windows.Forms.Tools.XPMenus.MenuGrid.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at Syncfusion.Windows.Forms.ScrollControl.WmMouseUp(Message& msg) at Syncfusion.Windows.Forms.ScrollControl.WndProc(Message& msg) at Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(Message& msg) at Syncfusion.Windows.Forms.Tools.XPMenus.MenuGrid.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

3 Replies

AR Anupama Roy Syncfusion Team April 3, 2006 01:08 PM UTC

Hi Gavin, This is a known issue with this and we have already logged a bug report regarding this.You can track the progress of bug fix through the below given link. http://www.syncfusion.com/support/issues/tools/Default.aspx?ToDo=view&questId=1805 We can provide you the fix for this in our upcoming release V4.2 due in April. Thanks for choosing Syncfusion. Regards, Anu.


GH Gavin Hurley April 3, 2006 04:03 PM UTC

OK, thank you. g


AR Anupama Roy Syncfusion Team April 5, 2006 08:30 AM UTC

Hi Gavin, Issue is fixed and this will be included in our upcoming release 4.2. Thanks, Anu.

Loader.
Live Chat Icon For mobile
Up arrow icon