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

EditAppointmentDialogStyleSelector?

3 Answers 33 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Michael Lilly
Top achievements
Rank 1
Michael Lilly asked on 06 Oct 2011, 07:43 PM
I need to have two different styles for the Edit Appointment dialog.  I don't see a style selector for the dialog, though.  Is there some way to do this that I'm missing?

Both versions are very different with only a couple things that are the same, so I can't use one dialog for the other.

The only option I have come up with was to use tabs (both windows use them already) and only display the appropriate tabs...that seems like a very ugly solution, though.

Thanks

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 07 Oct 2011, 09:32 AM
Hi Michael,

I'm afraid that it's not possible to have two styles for EditAppointmentDialog, there is no style selector for this.
We're sorry for the inconvenience.

Regards,
Yana
the Telerik team

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

0
Michael Lilly
Top achievements
Rank 1
answered on 07 Oct 2011, 05:54 PM
That's disappointing.  Can you suggest a solution better than hiding tabs?  Maybe something that could simulate a style selector?  This could cause some performance issues with my dialog.

I basically have two types of appointments and the dialogs only have a few similar items (Start End time, and resources essentially).  The ViewModels are even different for the two types.
0
Yana
Telerik team
answered on 10 Oct 2011, 09:20 AM
Hello Michael,

There is no easy way to implement selector for the dialogs.
You can use ShowDialog event to prevent the default EditAppointmentDialog from opening and show your custom dialog according to the selected appointment, please check here for more details about this approach.

Kind regards,
Yana
the Telerik team

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

Tags
ScheduleView
Asked by
Michael Lilly
Top achievements
Rank 1
Answers by
Yana
Telerik team
Michael Lilly
Top achievements
Rank 1
Share this question
or