RadScheduler, RadToolTipManager, and number of appointments per day

4 posts, 0 answers
  1. Adam
    Adam avatar
    2 posts
    Member since:
    Sep 2015

    Posted 18 Sep 2015 Link to this post

    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!

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    837 posts

    Posted 23 Sep 2015 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Adam
    Adam avatar
    2 posts
    Member since:
    Sep 2015

    Posted 23 Sep 2015 in reply to Ivan Danchev Link to this post

    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

  5. Ivan Danchev
    Admin
    Ivan Danchev avatar
    837 posts

    Posted 25 Sep 2015 Link to this post

    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
Back to Top