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

Disable the calender Tooltip

1 Answer 51 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Janni
Top achievements
Rank 1
Janni asked on 17 Sep 2010, 06:31 AM
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

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 22 Sep 2010, 01:10 PM
Hello Janni,

Can you be more specific and possibly attach a screenshot of the problem? Can you replicate the issue with the online demo?


Greetings,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler
Asked by
Janni
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or