Bug Report Q146920
Visible to All Users

The ASPxDateEdit generates an invalid default year value if the year isn't specified, i.e. if only month and day are specified.

created 16 years ago

Dear Support
I am using an ASPxDateEdit control on a page runnig on Mozilla Firefox version 3.0.4. I am using it with the following
custom EditFormatString --> HH:mm
The ASPxDateEdit is bound to an SQL Server DateTime field and is placed in a grid. When I update the row of the grid I get an error of the date:
Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM. at System.Data.SqlTypes.SqlDateTime.FromTimeSpan(TimeSpan value) at System.Data.SqlTypes.SqlDateTime.FromDateTime(DateTime value) at System.Data.SqlClient.MetaType.FromDateTime(DateTime dateTime, Byte cb) at …
I noticed that the date value of the component is 27/02/0109 instead of 2009! The strange thing about this is that in IE7 everything works fine and date of my ASPxDateEdit comes normal (2009).
Is this a known issue with Firefox?
Thanks & Regards.

Show previous comments (1)
DevExpress Support Team 16 years ago

    Hi John,
    Unfortunately I cannot completely reproduce your situation using the description you provided. Could you post here a sample project, so we can build and run to reproduce the issue?
    Thanks,
    Dmitry

      Dmitry
      Attached please find a sample project. Try to insert a new row in IE7 and save (it will work). In Firefox it throws an SQL Exception because of the time bit.
      Rgds.

      DevExpress Support Team 16 years ago

        Hi John,
        It seems to be a bug. So, I've convert your question to a bug report. You will get notifications, when the bugs status is changed.
        Thanks,
        Dmitry

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.