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

RadScheduler, RadToolTipManager, and number of appointments per day

3 Answers 142 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 18 Sep 2015, 05:58 PM

I created a RadScheduler that works in parallel with a RadToolTipManager using this demo as a guide: http://demos.telerik.com/aspnet-ajax/scheduler/examples/radtooltip/defaultcs.aspx . Everything is working as intended, except for one thing that I cannot figure out related to the "VisibleAppointmentsPerDay" property.

The basic problem is this: If I set RadScheduler1.MonthView.VisibleAppointmentsPerDay = 4, and then switch to the DayView on the browser, the custom tool tip I wrote will only appear for the first 4 appointments on that day. Any other appointments simply show the default tool tip. I verified that the VisibleAppointmentsPerDay property was the issue by setting it to 5, which made my custom tool tip appear for the first 5 appointments.

I only want 4 visible appointments on the MonthView, but I still want all the appointments to use my custom tool tip on the DayView. Can anyone give me some insight as to what to do in this situation?

 Thanks!

3 Answers, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 23 Sep 2015, 02:32 PM
Hello,

Could you please try commenting out the script registration in the RadScheduler's DataBound handler and let us know whether this change makes the custom tooltip appear for all appointments:
protected void RadScheduler1_DataBound(object sender, EventArgs e)
{
    RadToolTipManager1.TargetControls.Clear();
    //ScriptManager.RegisterStartupScript(this, typeof(Page), "HideToolTip", "hideActiveToolTip();", true);
}

Regards,
Ivan Danchev
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Adam
Top achievements
Rank 1
answered on 23 Sep 2015, 02:44 PM

Hi Ivan,

I tried the change you suggested, and it did not seem to produce any different functionality. My custom tool tip still only shows for the first 4 appointments, and any other appointments show the default tool tip (subject).

 Thanks,

Adam

0
Ivan Danchev
Telerik team
answered on 25 Sep 2015, 03:46 PM
Hello,

I am afraid I was not able to reproduce the missing appointment tooltips. I attached a sample website to this reply, in which the VisibleAppointmentsPerDay property is set to 4 and this does not affect the Appointment tooltip in the different Scheduler views. Please try to reproduce the issue in the sample website and post your modifications. This would help us identify the source of the observed behavior.

The sample Telerik database the Scheduler is bound to is included, while the Telerik.Web.UI.dll is omitted from the bin folder in order not to exceed the maximum allowed attachment size.

Regards,
Ivan Danchev
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Scheduler
Asked by
Adam
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Adam
Top achievements
Rank 1
Share this question
or