Hide "No End Date" option in Recurrence Editor

4 posts, 1 answers
  1. Cliff McManus
    Cliff McManus avatar
    32 posts
    Member since:
    Mar 2011

    Posted 25 Mar 2012 Link to this post

    Can anyone please tell me how to prevent the "No End Date" and "End After"  xx Occurences from being displayed on the Recurrence Editor?

    I see examples on how to do this with ASP, but I am not able to read this type code and translate it to Silverlight.

    Thanks
    Cliff
  2. Yana
    Admin
    Yana avatar
    4713 posts

    Posted 28 Mar 2012 Link to this post

    Hello Cliff,

    In order to customize the EditRecurrenceDialog,  you should set EditRecurrenceDialogStyle property of the RadScheduleView. More information about the approach can be found here.

    Greetings,
    Yana
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. Cliff McManus
    Cliff McManus avatar
    32 posts
    Member since:
    Mar 2011

    Posted 05 Apr 2012 Link to this post

    The link provided shows general Appointment Editing and configuration which I am aware how to do.

    The question still stands if it is possible  to prevent the "No End Date" and "End After" xx Occurences from being displayed on the Recurrence Editor?

    Regards
    Cliff


  4. Answer
    Yana
    Admin
    Yana avatar
    4713 posts

    Posted 09 Apr 2012 Link to this post

    Hello Cliff,

    Please check  "How to extract the default styles of the dialogs" section in the article -  you should extract the XAML needed for EditRecurrenceDialog  and add it to the UserControl.Resources of the UserControl where the ScheduleVIew is placed.   Then you could edit the template according to your requirements (just remove "No End Date" option). And at last - just need to set EditRecurrenceDialogStyle to {StaticResource Name_Of_The_Style}.

    This online example shows a custom EditAppointmentDialog, the approach is the same for EditRecurrenceDIalog.

    Hope this helps.

    Kind regards,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top