Changing the display name of Appointment

2 posts, 0 answers
  1. romulo~
    romulo~ avatar
    23 posts
    Member since:
    Nov 2012

    Posted 04 Feb 2013 Link to this post

    Hello Telerik Team,

    We're working on a project and we're using the scheduler viewer with a custom appointment.

    The issue is that we need to show on the list of appointments other fields than subject.
    Something like:

    "Subject" - "Client"

    "Subject" and "Client" are both filled on the form and and are being saved.
    I didn't find any property to bind these values and the templates we tried didn't work.

    Is there something we can do or the display name can't be changed? 
  2. romulo~
    romulo~ avatar
    23 posts
    Member since:
    Nov 2012

    Posted 05 Feb 2013 Link to this post

    I just found out what was going wrong with our template.

    The bindings were set wrong... 

    I based the bindings on other bindings already made, but for this part of the control, some things were not necessary.

    <!--This was wrong-->
    <TextBlock Text="{Binding Occurence.Appointment.Subject}" />
     
    <!--This worked :)-->
    <TextBlock Text="{Binding Appointment.Subject}" />

    I used the binding above because it was like that in other part of the code. Sadly, it didn't work for what i needed.

    Well... I'm kind of new with bindings...

    Thanks anyway.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top