Hiding Recurrence Dialog

7 posts, 0 answers
  1. Rhys
    Rhys avatar
    11 posts
    Member since:
    Oct 2007

    Posted 29 Sep 2008 Link to this post

    I have a Scheduler where I need to disable the Recurrence Dialog when the User Clicks on an Appointment to edit it.  I still want to show the edit dialog but not the "Do you want to edit this instance or all instances" of Appointment dialog. 

    Thanks!
    Rhys
  2. T. Tsonev
    Admin
    T. Tsonev avatar
    2834 posts

    Posted 30 Sep 2008 Link to this post

    Hello Rhys,

    You can handle the RecurrenceActionDialogShowing client-side event to prevent the dialog from showing and to set it's result.

    function OnClientRecurrenceActionDialogShowing(sender, eventArgs) 
       { 
           args.set_cancel(true);    
           //Edit this instance only:    
           //args.set_editSeries(false);    
                   
           //Edit the entire series:    
           args.set_editSeries(true); 
       }         


    For more details:
    http://www.telerik.com/help/aspnet-ajax/schedule_clientsideonclientrecurrenceactiondialogshowing.html

    Regards,
    Tsvetomir Tsonev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Rhys
    Rhys avatar
    11 posts
    Member since:
    Oct 2007

    Posted 01 Oct 2008 Link to this post

    Hi,

    Thanks, it worked like a charm.  Just FYI, you may want to check the code at http://www.telerik.com/help/aspnet-ajax/schedule_clientsideonclientrecurrenceactiondialogshowing.html.

    In the function it has args.set_cancel(true) where it should be eventArgs.set_cancel(true).

    Thanks again for all your help!

    ~Rhys
  4. T. Tsonev
    Admin
    T. Tsonev avatar
    2834 posts

    Posted 02 Oct 2008 Link to this post

    Hello Rhys,

    Great. Thanks for the heads up.

    Regards,
    Tsvetomir Tsonev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Jose
    Jose avatar
    13 posts
    Member since:
    May 2009

    Posted 17 Feb 2012 Link to this post

    My questions is I would like to know if you can hide the recurrence check box altogether?

    Thank you

    J

  6. Plamen
    Admin
    Plamen avatar
    3076 posts

    Posted 20 Feb 2012 Link to this post

    Hello,

     
    You can set the EnableRecurrenceSupport="false" property of RadScheduler.

    Hope this will help.

    Regards,
    Plamen Zdravkov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  7. Jose
    Jose avatar
    13 posts
    Member since:
    May 2009

    Posted 20 Feb 2012 Link to this post


    Worked like a charm. Thank you very much!

Back to Top