Bug Report T297822
Visible to All Users

Incorrect parameters are returned in the RangeControl.RangeChanged event handler when a specific date (18th day of any month) is selected

created 9 years ago

Hello,

has you can see in this question : https://www.devexpress.com/Support/Center/Question/Details/T234004
We have used with sucess a RangeControl with a ScaleBasedRangeControlClient to make our datenavigator.

But we found a problem, a really strange problem in fact.

If you use the sample project.
set from 12 oct 2015
select 29 oct 2015

In the RangeChanged event e.Range.Minimum is 28 oct 2015 23h59:59
so the current selected date is 28 oct 2015 (we use the range min value date).

you can set from other day
1 oct 2015 -> select 18 oct 2018 -> current selected 17 oct 2015 (17 oct 2015 23h59:59)
3 oct 2015 -> select 20 oct 2018 -> current selected 19 oct 2015 (19 oct 2015 23h59:59)

The problem is on the selection of 18th day. The RangeChanged event e.Range.Minimum is equal to the 17th day at 23h59:59 and not 18th day at 00h00:00

Best regards

Comments (1)
DevExpress Support Team 9 years ago

    Hi,

    We have successfully reproduced the behavior you described and passed this ticket to our developers for further research.
    Please bear with us. We will notify you as soon as we make any progress.

    Answers approved by DevExpress Support

    created 9 years ago (modified 9 years ago)

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      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.