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.

SfDatePicker and null date

Thread ID:

Created:

Updated:

Platform:

Replies:

109271 Jun 5,2013 06:10 AM Jun 24,2013 08:25 AM WinRT 10
loading
Tags: SfDatePicker
Mark Riley
Asked On June 5, 2013 06:10 AM

Hi,

I have an SfDatePicker which is bound (two-way) to a 'DateTime?' variable which is set to 'null'.

In version 11.0.21 this worked fine and the field displayed as a blank date, but since upgrading to 11.0.25 it has stopped working and crashes with a NullReference exception in the FormatValue method. Has something changed here?

Mageshyadav M [Syncfusion]
Replied On June 9, 2013 09:15 PM


Hi Mark,

 

Sorry for the delay in getting back to you.

 

We are able to reproduce the reported crash issue in DatePicker and we will resolve this issue in our upcoming service pack release.

 

Please let us know if you have any queries.

 

Regards,
Mageshyadav.M


winphone
Replied On June 17, 2013 02:23 PM

Need to stable your application across time , then using third party components like syncfusion is not a good choice, not good for a quick works. Here all will work at some times but not all times my bitter worst experience.

Regards,
WinDev

Naweed Akram
Replied On June 19, 2013 12:59 AM

Hi,

 

I am facing the exact same problem. Earlier, the following code used to work just fine. Now, it doesn't. I get error in XAML as well (in the Value property)

 

My code:

<syncfusion:SfDatePicker Grid.Row="3"
    Value="{Binding DueAt, Mode=TwoWay}"
    Style="{StaticResource SFDatePickerStyle}"
    AccentBrush="{StaticResource AccentBrush}">
<syncfusion:SfDatePicker.SelectorStyle>
    <Style TargetType="syncfusion:SfDateSelector">
        <Setter Property="BorderThickness" Value="2" />
        <Setter Property="BorderBrush" Value="{StaticResource AccentBrush}" />
    </Style>
</syncfusion:SfDatePicker.SelectorStyle>
</syncfusion:SfDatePicker>

 

And the ViewModel:

private DateTime? dueAt;
public DateTime? DueAt
{
    get
    {
           return dueAt;
    }
    set
    {
           Set("DueAt", ref dueAt, value);
    }
}        


Naweed Akram
Replied On June 19, 2013 01:01 AM

When is the service pack expected. I have an app to release soon. Also hoping that it will not break other functionality like sfTextBox, Validation and DocIO, which I am using in my app.

 


Nicky Mogensen
Replied On June 19, 2013 06:10 AM

They wrote one week to me today in an incident report. So hopefully :)

Mageshyadav M [Syncfusion]
Replied On June 19, 2013 09:05 PM

Hi WinDev,

Sorry for the inconvenience caused.

We have taken steps to avoid this breaking issues in our future releases and this issues will be resolved in our upcoming Service pack release.

Please let us know if you have any queries.

Regards,

Mageshyadav.M

 


Mageshyadav M [Syncfusion]
Replied On June 19, 2013 09:09 PM

Hi Naweed,

 

We have planned to rollout our Service pack release on or before end of this month June 2013.

 

Please let us know in case of any queries.

 

Regards,

Mageshyadav.M


Naweed Akram
Replied On June 19, 2013 11:42 PM

Thanks.

 

However, in the meanwhile, can I get one release prior to the current one. I was using that earlier, and the app was working fine with it. I think I will need to release my app in next 2-3 days. I cannot find link to the prior version on your website.

 

Regards

Naweed


Nicky Mogensen
Replied On June 24, 2013 06:15 AM


Mageshyadav M [Syncfusion]
Replied On June 24, 2013 08:25 AM

Hi Naweed,

 

You can download our previous version 11.1.0.21 from the below link,

 

http://www.syncfusion.com/downloads/version-history/11_1_0_21

 

Due to a server failure at one of our hosting sites, the files in the above link provided were not available for past two weeks. Now the files has been recovered and you can download it.

 

This reported issue fix will be available in our upcoming service pack release and we will update you once the service pack release is rolled out.

 

Regards,
Mageshyadav.M

 

 


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.

;