Automatically create Appointment on Double-Click of timeslot

3 posts, 1 answers
  1. Andy
    Andy avatar
    32 posts
    Member since:
    Nov 2010

    Posted 18 Sep 2014 Link to this post

    I would like to skip the insert form template and automatically create the appointment.  Ideally I would like the double-click of a timeslot to skip the FormCreating and FormCreated events and fire the AppointmentCommand where I could manually set necessary appointment properties to the desired values.  Any ideas how to do this?
  2. Answer
    Plamen avatar
    3080 posts

    Posted 19 Sep 2014 Link to this post

    Hi Andy,

    You can use FormCreating event of RadScheduler as for example in the code below:
    protected void RadScheduler1_FormCreating(object sender, SchedulerFormCreatingEventArgs e)
         RadScheduler scheduler = (RadScheduler)sender;
         e.Cancel = true;
         Appointment newApp = e.Appointment;
         newApp.Subject = "newApp";

    Hope this information 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. Andy
    Andy avatar
    32 posts
    Member since:
    Nov 2010

    Posted 19 Sep 2014 in reply to Plamen Link to this post

    Thanks  the info.  So simple, I forgot that this was the way to do it.
Back to Top