how to customize AppointmentSourceWarning text

2 posts, 0 answers
  1. Elneilo
    Elneilo avatar
    6 posts
    Member since:
    Apr 2011

    Posted 25 Nov 2011 Link to this post

    Hi there,

    Is there a way to replace the AppointmentsSource warning text?
    Can I do that without the need to implement a custom ScheduleView theme?

    Here is my situation - I have a RadScheduleView that is bound to the VM for Appointments.
    When I load my form, the VM takes about 5 seconds to fetch the Appointment data.
    Everything looks good and works fine after the 5 seconds load.
    But, in the first 5 seconds there is a big "Please provide AppointmentsSource" and I don't know how to customize that message.

    I hope to show a "Loading..." message instead of the default AppointmentsSource warning text.

    Any ideas on a good approach for this situation?

    Thanks in advance.
  2. Dani
    Admin
    Dani avatar
    848 posts

    Posted 25 Nov 2011 Link to this post

    Hi El Neilo,

    The message "Please provide an AppointmentsSource" is in the control template of RadScheduleView in a Grid named AppointmentSourceWarning. It is easily accessible and modifiable.

    However, for the purpose of your scenario, I would suggest that you use another approach instead. You can take advantage of the RadBusyIndicator control to show a loading message and animation till your appointmetns load. Integration between RadScheduleView and RadBusyIndicator is done via the BackgroundWorker class. You can see this approach realized in the FirstLook example of RadBusyIndicator.

    I hope this helps.

    All the best,
    Dani
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top