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

Clicking on the currently selected date returns the date 1/01/0001

Hi,

I am on version 13.4810.0.53. If you bind SelectedDate to a DateTime property, clicking on the currently selected date will return 1/01/0001.
Can you explain this behavior? Is there a way around this?

eg.
    <Grid x:Name="Root">
        <StackPanel>
            <Input:SfCalendar SelectedDate="{Binding CurrDate, Mode=TwoWay}"/>
            <TextBlock FontSize="20" Text="{Binding CurrDate}" HorizontalAlignment="Center"/>
        </StackPanel>
    </Grid>

Thanks
Ryan

3 Replies

VR Venkateshwaran Ramdoss Syncfusion Team December 6, 2016 08:58 AM UTC

Hi Ryan, 

Thank you for contacting Syncfusion Support. 

We have checked the reported issue by prepared a sample using the provided code example. But we were unable to reproduce the reported issue at our end. We have prepared a sample and video for your reference and it can be downloaded from the below link. 


 
Please check the provided sample and video and let us know, if we have followed proper reproducing steps or else please provide more details like modifying the sample and replication steps which helpful us to provide prompt solution as earlier as possible. 

Regards, 
Venkateshwaran V.R. 



RY Ryan December 6, 2016 08:57 PM UTC

Hi Venkateshwaran,

Thanks for the sample and video, however you are missing one critical step...

1. Load application
2. Click on the the 25th of December
3. Now click on the 25th of December again.

You will see that the SelectionChanged event is not fired but the binded property is now null (in my case it returns 01/01/0001)


VR Vijayalakshmi Roopkumar Syncfusion Team December 8, 2016 08:33 AM UTC

Hi Ryan,

We were able to reproduce the issue and have logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents 

Please let us know if you have any other concerns. 
Regards,
Vijayalakshmi V.R. 


Loader.
Live Chat Icon For mobile
Up arrow icon