radtooltip not always showing up on monthly view

8 posts, 0 answers
  1. Randal
    Randal avatar
    3 posts
    Member since:
    Sep 2011

    Posted 09 Sep 2011 Link to this post

    Hi.
    I'm basically following this demo (http://demos.telerik.com/aspnet-ajax/scheduler/examples/radtooltip/defaultcs.aspx).
    I only have the monthly view active (and just readonly) where i'm binding my appointments which spans multiple months.
    I am using radtooltipmanager for the tooltip the same way it is implemented in the demo.

    Once my data is bounded to my scheduler, all tooltips work perfectly on the initial month view. However, once i switch to the following months (NavigationCommand), the tooltips no longer works.

    Has anyone experienced this??


  2. Ivana
    Admin
    Ivana avatar
    657 posts

    Posted 13 Sep 2011 Link to this post

    Hi Randal,

    I could not reproduce the problem from the scenario you described. I have tested the online demo with multiple months appointments and the ToolTip works as expected.

    Could you send a link to the project or send a support ticket where a sample project illustrating the problem can be attached.


    Regards,
    Ivana
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Dasha
    Dasha avatar
    81 posts
    Member since:
    Aug 2010

    Posted 13 Sep 2011 Link to this post

    I am seeing the same thing!

    Basically, it seems like the tooltip only works for the items that are loaded onto the first view displayed after a page refresh.  If I have day view shown by default, and then go the month view, I will only get the tooltip for the items in the original day shown.  I tried stepping throught the code, and it seems like the code gets hit in the AppointmentCreated event, where the appointment is registered with the tooltip.  But I still don't see all the tooltips.

    Any idea how we can force the tooltip manager to repopulate its information after an ajax callback?
  4. Ivana
    Admin
    Ivana avatar
    657 posts

    Posted 15 Sep 2011 Link to this post

    Hi Dasha,

    If you are using a RadAjaxManager make sure you update the RadToolTipManager properly.
    The described scenario could be caused if the RadToolTipManager is not updated by the RadScheduler.

    Try removing it and see if that fixes the problem.

    Also another approach could be to use the UpdatePanel as it is in the demo at our web site.

    Regards,
    Ivana
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal
  5. Dasha
    Dasha avatar
    81 posts
    Member since:
    Aug 2010

    Posted 15 Sep 2011 Link to this post

    Perfect!  I was adding the tool tip manager dynamically.  When I moved it to the html page and made sure it was inside the rad ajax panel, it worked as expected.

    Thank you :)
  6. Randal
    Randal avatar
    3 posts
    Member since:
    Sep 2011

    Posted 23 Sep 2011 Link to this post

    thank you both.
    Turns out i wasn't wrapping them inside an updatepanel.
    Now, tooltips show up even for the few successive months.

    However, tooltips do not always work. If i have too many data in my calendar (filling > 3 months views), my tooltip   still fails to show after the third month or so. 
    There's a bunch of stuff going on in the page (i.e. i'm using a tabstrip, each one either has a datagrid or a radscheduler). Could this tooltip issue be due to how much data is on the page??

    thanks
  7. Ivana
    Admin
    Ivana avatar
    657 posts

    Posted 26 Sep 2011 Link to this post

    Hello Randal,

    The experienced issue could be due to a lot of HTML on the page. It also might depend on the browser. Try testing it in different browsers and see if its behavior is changing.

    If there no differences in its behavior, could you please send us a live URL to your web page so we can test the scenario at our end.

    Best wishes,
    Ivana
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  8. Randal
    Randal avatar
    3 posts
    Member since:
    Sep 2011

    Posted 30 Sep 2011 Link to this post

    Thanks Ivana,
    Looks like you are right about having too much HTML on the page as a cause of this issue.
    So what I did was i pulled out the radscheduler and placed it into a separate aspx page and use an iframe to bring it on the original page. This seems to have done the trick. 
    All tooltips now appear correctly. 
Back to Top