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.
Unfortunately, activation email could not send to your email. Please try again.

DateTimePickerAdv: ArgumentOutOfRangeException

Thread ID:

Created:

Updated:

Platform:

Replies:

42563 Mar 31,2006 12:01 PM Apr 5,2006 04:30 AM Windows Forms 3
loading
Tags: Tools
Gavin Hurley
Asked On March 31, 2006 12:01 PM

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

Anupama Roy [Syncfusion]
Replied On April 3, 2006 09:08 AM

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.

Gavin Hurley
Replied On April 3, 2006 12:03 PM

OK, thank you. g

Anupama Roy [Syncfusion]
Replied On April 5, 2006 04:30 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;