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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfDatePicker Set null

Thread ID:





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

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 06:25 AM UTC

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.


Miguel Goncalves
Replied On April 11, 2013 10:31 PM UTC

Just Perfect! Many thanks for your support.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon