This is a migrated thread and some comments may be shown as answers.

Done and Cancel Button in DatePiker

1 Answer 125 Views
DatePicker and DateSelector
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gia Nguyen
Top achievements
Rank 1
Gia Nguyen asked on 08 Nov 2014, 10:28 AM
Hi everyone

I have date picker and i want to display date when user click Done button and display no information when click cancel button but i don't know how i get event click from Done button and Cancel button !!!

Please hepl me

1 Answer, 1 is accepted

Sort by
0
Rosy Topchiyska
Telerik team
answered on 12 Nov 2014, 12:45 PM
Hi Gia,

Thank you for contacting us.

The RadDatePicker class has a protected OnCancelButtonClicked() method. You can create your own class that inherits from the RadDatePicker one and override this method, to raise an event for example. I have attached a sample project for demonstration.

I hope this helps.

Regards,
Rosy Topchiyska
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
DatePicker and DateSelector
Asked by
Gia Nguyen
Top achievements
Rank 1
Answers by
Rosy Topchiyska
Telerik team
Share this question
or