Changing appointment display text

2 posts, 1 answers
  1. Ozcan Oksuz
    Ozcan Oksuz avatar
    9 posts
    Member since:
    Feb 2010

    Posted 16 Feb 2011 Link to this post

    Hi,

    The current display format for an appointment on scheduler is  appointment time and appointment subject,
    eg:  10:00 am - 10:30 am  test

    How can we make it display what we want to display for a custom appointment? 
    eg: patientName

    Thanks,
    Burhan Eyimaya
  2. Answer
    Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 16 Feb 2011 Link to this post

    Hello,

    What is it you'd like to change? for exmaple, it renders the appointment subject to the text property of the appointment element. This could be changed to show a different text (whilst not changing the appointment subject) by using the AppointmentFormatting event.

    private void radScheduler1_AppointmentFormatting(object sender, SchedulerAppointmentEventArgs e)
    {
        e.AppointmentElement.Text = "Some text ";
    }

    hope that helps
    Richard
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top