Hi,
So far the radscheduler has proved to be a very useful asset. However I am stuck with one issue. As part of my apptemplate on the instantiation of the control I want to set the 'Appointment' with the 'data-toggle', 'data-placement' and 'title' attributes in order to use a Bootstrap 3 tooltip rather than the generic one. At runtime it ignores what I've set and sets the title as the content of the appointment.
Is there a way to do this? Or is something happening in the background which removes it. Example below. None of the 'app.Attributes' get appended.
public
void
InstantiateIn(Control container)
{
SchedulerAppointmentContainer aptCont = (SchedulerAppointmentContainer)container;
Appointment app = aptCont.Appointment;
app.Attributes.Add(
"data-toggle"
,
"tooltip"
);
app.Attributes.Add(
"data-placement"
,
"right"
);
app.Attributes.Add(
"title"
,
"Radscheduler is the best!"
);
LinkButton lbs =
new
LinkButton();
lbs.ID =
"btnConductAppointment"
;
lbs.Text =
"This is a linkbutton"
;
container.Controls.Add(lbs);
}