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 Set null

Thread ID:

Created:

Updated:

Platform:

Replies:

108263 Apr 10,2013 02:27 PM Apr 11,2013 06:31 PM WinRT 2
loading
Tags: SfDatePicker
Miguel Goncalves
Asked On April 10, 2013 02:27 PM

Is there a way to nullify a datepicker after the value was defined (when the databehind is of type DateTime?  ). When I first start the View, the data is null so the datepicker doesn't show any value, as expected. But after setting a date, we cannot go back to null (at least with a touch solution when the picker is opened) -> we can always check a keypress -> Delete, but it would be nicer a third button (ex: ok, cancel and null).
Thank you


Mageshyadav M [Syncfusion]
Replied On April 11, 2013 02:25 AM

Hi Miguel,

Please find the sample to achieve your requirement of setting Null to DatePicker Value after setting a date from the following location,

Sample Link : http://www.syncfusion.com/downloads/Support/DirectTrac/General/DatePickerSample977433964.zip

In the above sample we have customized the SelectorStyle to add Reset Button for achieving your requirement of setting Null to DatePicker Value after setting a date.

Please let us know if the sample assists your requirement.

Regards,
Mageshyadav.M


Miguel Goncalves
Replied On April 11, 2013 06:31 PM

Just Perfect! Many thanks for your support.

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.

;