This is a migrated thread and some comments may be shown as answers.

how to customize AppointmentSourceWarning text

1 Answer 79 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Elneilo
Top achievements
Rank 1
Elneilo asked on 25 Nov 2011, 06:04 AM
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.

1 Answer, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 25 Nov 2011, 10:28 AM
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 >>
Tags
ScheduleView
Asked by
Elneilo
Top achievements
Rank 1
Answers by
Dani
Telerik team
Share this question
or