This is a migrated thread and some comments may be shown as answers.

CreateAppointmentWithDialog Animation And Transparency

1 Answer 48 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Brad
Top achievements
Rank 1
Brad asked on 23 Jan 2012, 12:26 AM
Hi,

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?

Cheers,
-Brad

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 26 Jan 2012, 08:23 AM
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,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
ScheduleView
Asked by
Brad
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or