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

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

1 Answer 77 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
dstj
Top achievements
Rank 1
dstj asked on 23 Aug 2007, 05:35 PM
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 ?

Thanks

Dominic.

1 Answer, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 27 Aug 2007, 02:44 PM
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.

Regards,
Tsvetie
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ToolTip
Asked by
dstj
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or