Custom Appointment Questions

4 posts, 0 answers
  1. Eric
    Eric avatar
    9 posts
    Member since:
    Jun 2011

    Posted 17 Oct 2011 Link to this post

    I'm trying to build a custom appointment dialog to meet some very specific schedulinging demands.

    Mainly, I would like to set up a custom dialog that hides various controls that refer to recurrency and category. I would also like to change the title at the top of the dialog from "Appointment" to some other word. The current documentation shows how to add custom controls, but hide or delete them, and set their relevant values in the code of my View Model.

    Is any of this possible?
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 18 Oct 2011 Link to this post

    Hi Eric,

    You can hide controls in the custom EditAppointmentDialog by binding their Visibility property to some property in your custom appointment class,  for example:

    Visibility="{Binding Occurrence.Appointment.CustomBoolProperty, Converter={StaticResource BooleanToVisibilityConverter}}"

    or some property in the ViewModel as explained in this help article.

    You can also check here and here for additional information about customizing the EditAppointmentDialog.

    Hope this helps. If you need further assistance, contact us again.

    Greetings,
    Yana
    the Telerik team

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

  3. DevCraft banner
  4. Eric
    Eric avatar
    9 posts
    Member since:
    Jun 2011

    Posted 18 Oct 2011 Link to this post

    Thanks, I've already seen those articles, and although helpful, they would be much more so if they had an example code file attached to them.

    The converter makes sense, but as far as I can see, I would only be able to change the visibility of a control that I have added to the dialog. I want to change the visibility of a control that is in the default dialog box. If it is possible to change those default controls, how do I access the names of the controls in order to do so?
  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 19 Oct 2011 Link to this post

    Hi Eric,

    I've attached a simple example with the default EditAppointmentDialog. You can find all the controls used in the template and set the needed properties to them.

    Hope this helps. If you need further assistance, contact us again.

    Best wishes,
    Yana
    the Telerik team

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

Back to Top