Rad Scheduler + Dynamic confirm delete text

2 posts, 0 answers
  1. Praveen
    Praveen avatar
    1 posts
    Member since:
    Apr 2014

    Posted 04 Apr 2014 Link to this post


    We are using the rad scheduler for appointments.  If the user want's to delete the appointment, it is displaying "Are you sure you want to delete the appointment".

    But we need custom message based on the appointment type. 

     For Example: 
    1.  Appointment Type #1 :  Message #1 
    2.  Appointment Type #2 :  Message #2.

    Please help me.

  2. Plamen
    Plamen avatar
    2723 posts

    Posted 07 Apr 2014 Link to this post


    Here is one way to change the text of the delete confirmation depending on the appointments id
    function pageLoad() {
                  var $ = $telerik.$,
                      scheduler = $find("<%= RadScheduler1.ClientID %>");
                  $(".rsAptDelete").click(function myfunction() {
                      var appID = scheduler.getAppointmentFromDomElement(this).get_id();
                      if (appID >= 10) {
                          scheduler.get_localization().ConfirmDeleteText ="new Text";

    Hope this will be helpful. 


    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.

  3. DevCraft R3 2016 release webinar banner
Back to Top