EditAppointmentDialogStyleSelector?

4 posts, 0 answers
  1. Michael Lilly
    Michael Lilly avatar
    53 posts
    Member since:
    Apr 2010

    Posted 06 Oct 2011 Link to this post

    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
  2. Yana
    Admin
    Yana avatar
    4731 posts

    Posted 07 Oct 2011 Link to this post

    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 >>

  3. Michael Lilly
    Michael Lilly avatar
    53 posts
    Member since:
    Apr 2010

    Posted 07 Oct 2011 Link to this post

    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.
  4. Yana
    Admin
    Yana avatar
    4731 posts

    Posted 10 Oct 2011 Link to this post

    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 >>

Back to Top