Implementation performance of RadToolTip (can it use a WebService ?)

2 posts, 0 answers
  1. dstj
    dstj avatar
    82 posts
    Member since:
    Oct 2006

    Posted 23 Aug 2007 Link to this post

    Hi, I have a fundamental question about the RadToolTip implementation.

    In my application, I programmatically build a NxM matrix and use RadToolTip to provide additionnal information about the meaning of each intersecting cell. To fill the tooltip, I only need the row ID and column ID, the data itself is fetched from a database. The tooltip looks good, but since it generates a MS AJAX postback each time I hover over a cell, it greatly increases the load of the server as Page_Init() and Page_Load() are executed every time even thought very simple html is added to the tooltip.

    My initial thoughts about the RadToolTip were that it would not use an MS AJAX UpdatePanel but a WebService to fetch the tooltip HTML. This WebService could be very light weight and thus, the performance would be not be hindered by the page complexity.

    Can the tooltip data be fetched from a WebService at this time or is it only through the OnAjaxUpdate event? Wouldn't that be a nice feature to provide?

    If impossible, how do you suggest I tackle my performance problem ?


  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 27 Aug 2007 Link to this post

    Hello dstj,
    Thank you for the proposed new feature - I forwarded it to our developers for consideration.

    In the meantime, you can use clientside api of the RadToolTip control to achieve the desired result. For example - add all target controls to the TargetControls collection of the manager but do not use the AjaxUpdate event. Instead, handle the ClientBeforeShow/ClientBeforeHide events to call the WebService and then set the HTML that the WebService returned as content of the RadToolTip by using set_ContentElement method.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top