Here's the situation,
I'm trying to focus an appointment in the scheduler control but it's not possible to cast an appointment object to a radelement which is the type asked for the method FocusedElement.
Here's the code:
foreach
(Appointment app
in
ModificationsScheduler.Appointments)
{
cAppointment = (CustomAppointment)app;
if
(containsString(cAppointment.Summary.ToString(), strIndex, StringComparison.Ordinal) ==
true
)
{
this
.ModificationsScheduler.FocusedElement = app;
}
}
Is there any way to do this?
Thanks,