Here's an example of what I'm working with:
http://www.mccsokinawa.com/functionalfitness/
Why is it that only the appointments for the current month get added into the ToolTipManager's TargetControls? I need all appointments on the calendar to have tooltips, but if you go to June, for example, none of the appointments have tooltips because they weren't displayed on the current month.
Here is my insert code:
I could use some quick help as I have an important meeting regarding this application coming up on Monday. Thanks.
http://www.mccsokinawa.com/functionalfitness/
Why is it that only the appointments for the current month get added into the ToolTipManager's TargetControls? I need all appointments on the calendar to have tooltips, but if you go to June, for example, none of the appointments have tooltips because they weren't displayed on the current month.
Here is my insert code:
protected void RadScheduler1_AppointmentCreated(object sender, AppointmentCreatedEventArgs e) |
{ |
string clientID = e.Appointment.ClientID; |
RadToolTipManager1.TargetControls.Add(clientID, e.Appointment.ID.ToString(), true); |
} |
protected void RadToolTipManager1_AjaxUpdate(object sender, ToolTipUpdateEventArgs e) |
{ |
int toolTipID = Convert.ToInt16(e.Value); |
DataExercisesTableAdapters.ExercisesTableAdapter adapter = new DataExercisesTableAdapters.ExercisesTableAdapter(); |
string description = "<p><strong>Click exercise name to watch video</strong></p>" + adapter.GetDescription(toolTipID).ToString(); |
Label lblText = new Label(); |
lblText.Text = description; |
e.UpdatePanel.ContentTemplateContainer.Controls.Add(lblText); |
} |
I could use some quick help as I have an important meeting regarding this application coming up on Monday. Thanks.