Hi Team,
I need to disable the calender tool tip
in
the rad scheduler.
whenever i place the mouse over
in
>next month) it display the tool tip.
so i shouldn't
do
that. That mouse over has to stop o that area.
Because I've implemented the rad manager tool tip
for
every appointment.
If i place through the next month icon of the calendar it returns the
string
.
It shouldn
't done like that. If so,i'
m getting exception like input
string
is
not
in
correct format.
here
is
my code and attached image.
protected
void
RadToolTipManager1_AjaxUpdate(
object
sender, ToolTipUpdateEventArgs e)
{
RadScheduler1.ToolTip =
string
.Empty;
this
.AdminController.State.Session.Schedule =
new
Schedule(userSession);
int
aptId =
int
.Parse((e.TargetControlID.Split(
'_'
)[3]));
Appointment apt = RadScheduler1.Appointments[aptId];
this
.AdminController.State.Session.Schedules =
this
.AdminController.RetrieveAllEventSchedules();
for
(
int
i = 0; i <
this
.AdminController.State.Session.Schedules.Count; i++)
{
if
((apt.Subject ==
this
.AdminController.State.Session.Schedules[i].DisplayPermitName) &&
apt.ID.ToString() ==
this
.AdminController.State.Session.Schedules[i].ID.ToString())
{
apt.Subject =
"Permit Name : "
+
this
.AdminController.State.Session.Schedules[i].DisplayPermitName +
"<br>"
+
"Client Type Name : "
+
this
.AdminController.State.Session.Schedules[i].DisplayClientTypeName +
"<br>"
+
"Facility Name : "
+
this
.AdminController.State.Session.Schedules[i].DisplayFacilityName +
"<br>"
+
"Resource Name : "
+
this
.AdminController.State.Session.Schedules[i].DisplayResourceName;
}
}
AppointmentToolTip toolTip = (AppointmentToolTip)LoadControl(
"~/UserControls/AppointmentToolTip.ascx"
);
toolTip.TargetAppointment = apt;
e.UpdatePanel.ContentTemplateContainer.Controls.Add(toolTip);
aptId = 0;
}
Awaiting
for
your quick reply.
Thanks,
Daniel.B