CreateAppointmentWithDialog Animation And Transparency

2 posts, 0 answers
  1. Brad
    Brad avatar
    1 posts
    Member since:
    Jan 2012

    Posted 22 Jan 2012 Link to this post


    We are using RadScheduleViewCommands.CreateAppointmentWithDialog() to open the dialog when creating an appointment. Is there anyway I can disable the animation of the Dialog as the window is opened and closed?

    Also, is there an easy way to remove the transparency of the dialog chrome?

  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 26 Jan 2012 Link to this post

    Hello Brad,

    In order to achieve this you need to change the EditAppointmentDialog. This could do this by implementing the ISchedulerDialogHostFactory in a class and set an instance of this class to the SchedulerDialogHostFactory property of RadScheduleView. In class you could customize the dialog not to have any animation. If it is a RadWindow you could set its attached property AnimationManager.IsAnimationEnabled=False. Using this approach you could also remove the transparency. You could find an sample project in this forum post. Even though it is for Silverlight, the logic for the creating of the DialogHostFactory is the same and you could use it as a guidance.

    Hope this helps.

    All the best,
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top