Done and Cancel Button in DatePiker

Thread is closed for posting
2 posts, 0 answers
  1. Gia Nguyen
    Gia Nguyen avatar
    1 posts
    Member since:
    Apr 2014

    Posted 08 Nov 2014 Link to this post

    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
  2. Rosy Topchiyska
    Rosy Topchiyska avatar
    586 posts

    Posted 12 Nov 2014 Link to this post

    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.

    Rosy Topchiyska

    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.

Back to Top