Disable client click after one Appointment in RadScheduler

2 posts, 0 answers
  1. Teja
    Teja avatar
    15 posts
    Member since:
    Nov 2010

    Posted 09 Feb 2011 Link to this post


    In Telerik RadScheduler, I need to design a model in which a client is accessed to schedule only once. Once he/she is scheduled, all the other Appointments are disabled and he cannot schedule more than once.
    If he/ she wants to schedule again, then the previous appointment has to be deleted and then be scheduled at his/her convenience.
    Any help is appreciated.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 10 Feb 2011 Link to this post

    Hello Teja,

    You can subscribe the OnClientAppointmentInserting event and try following code which prevents adding appointments more then once.

    function OnClientAppointmentInserting(sender, agrs)
           if (sender.get_appointments().get_count() >= 1)
              alert("Only One appointment is allowed");   

Back to Top