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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Cancel button keep changes and is there an event for apply button

Thread ID:

Created:

Updated:

Platform:

Replies:

151081 Jan 30,2020 11:23 AM UTC Jan 31,2020 11:45 AM UTC Blazor 1
loading
Tags: DateRangePicker
Admir Hodžic
Asked On January 30, 2020 11:23 AM UTC

Regarding demo for DateRangePicker.

My opinion is that Cancel button does not works as should:
If there is already  selected range in control, when user pickup new range and click cancel , I think that control should preserve old selected range, not new one.
What is point of cancel button if it still change value of range ?


Second thing:
Is there an event for Apply button ?


Sureshkumar P [Syncfusion]
Replied On January 31, 2020 11:45 AM UTC

Hi Admir, 
 
Greetings from Syncfusion support. 
 
Query 1: 
 
My opinion is that Cancel button does not works as should: 
If there is already  selected range in control, when user pickup new range and click cancel , I think that control should preserve old selected range, not new one. 
What is point of cancel button if it still change value of range ?  
 
Answer: 
            the cancel button reset the current selection in the daterangepicker popup value not component value. So, in your case the components previous value will maintain the component object. 
 
Query 2:  
 
Is there an event for Apply button ? 
 
Answer: 
            We have validated your requirement with shared image. we do not have any event while clicking the apply button without previous selected value changed but we have triggered the ValueChange event after changed the value and clicking the apply button.  
 
Regards, 
Sureshkumar P 


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.

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

Live Chat Icon For mobile
Live Chat Icon