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

Programmatically opening custom EditAppointmentDialog

6 Answers 147 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Diederik
Top achievements
Rank 1
Diederik asked on 08 Oct 2013, 11:17 AM
I have a ScheduleView with a custom EditAppointmentDialogStyle. When I doubleclick on an appointment, the correct custom dialog opens. When I do this programmatically using RadScheduleViewCommands.EditAppointment.Execute in the AppointmentEdited event, then the native dialog opens. Is there a way to open the custom dialog programmatically?

6 Answers, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 08 Oct 2013, 03:09 PM
Hello Diederik,

We tried to reproduce the described behavior with custom EditAppointmentDialog and everything worked as expected - the custom dialog was shown on AppointmentEdited. I'm attaching here our test project, please check it and let us know if there is anything else that we are missing.

I'm looking forward to your response.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Diederik
Top achievements
Rank 1
answered on 09 Oct 2013, 07:08 AM
Thanks for the response. I should have mentioned that I'm working with Visual Studio 2010, now I'll have to 'downgrade' your project.
0
Diederik
Top achievements
Rank 1
answered on 09 Oct 2013, 07:56 AM
I can already confirm that your sample project works indeed as expected, on our production machine. Thanks again. I can now further investigate what's different in our code.
0
Diederik
Top achievements
Rank 1
answered on 10 Oct 2013, 07:29 AM
Solved!

The problem seems to have been caused by a DragDropBehavior assigned to the ScheduleView that made an explicit call to a base class method.
0
Karl
Top achievements
Rank 1
answered on 22 Oct 2013, 02:49 PM
Is it possible to have this sample project in visual studio 2010 format targeting .Net 4.0
0
Kalin
Telerik team
answered on 24 Oct 2013, 07:10 AM
Hello Karl,

Please check the attached project - now it should work with VS2010 without a problem.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ScheduleView
Asked by
Diederik
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Diederik
Top achievements
Rank 1
Karl
Top achievements
Rank 1
Share this question
or