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

Tooltip without query

3 Answers 59 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Andy Stapleton
Top achievements
Rank 1
Andy Stapleton asked on 29 Dec 2008, 02:17 PM
I am using the RadGrid, Ajaxupdate and example of the Target Control, this is implemented and it does work... 

My problem is large database, where it takes 3-4 seconds to display the tooltip information, While I can and will tune the DB to get performance, the question remains.

Since I have ALREADY queried the information and it is stored in non-visible fields on the grid, is there a method for the Tooltips to reference those fields and display them without another query to the database.

it is a user control i am using as per the example.

thanks for any assistance.

3 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 30 Dec 2008, 04:57 PM
Hello Andy,

I am not quite sure about your exact setup and requirement but I suggest to consider the tooltip as a panel - if you succeed to show the desired user control in the desired manner in a standard asp panel, you should not experience problems when replicating the same logic to the tooltip.

In case you succeed to implement the desired scenario with a asp: panel control but you experience problems with the RadToolTip implementation, please open a new support ticket and send us a fully runnable project with the panel only along with detailed explanations. Once we receive it, we will modify it in order to use a RadToolTip instead of a panel and we will send it back to you.


Kind regards,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Andy Stapleton
Top achievements
Rank 1
answered on 30 Dec 2008, 08:12 PM
maybe I am making it to difficult to understand.

On mouse over,  get the GridDataItems columns that will display the information.

Show those values in a Tooltip...


simple.  

right now ,I am using a user control per your example, and it is talking too long.
0
Svetlina Anati
Telerik team
answered on 02 Jan 2009, 12:18 PM
Hi Andy,

In this case I suggest to hook up the grid's OnRowMouseOver client-side event, extract the desired values and set them to the tooltip by using the set_text or set_content or set_contentElement depending on the case. Another option is to create the tooltips on the client dynamically as shown in the following demo:

http://demos.telerik.com/aspnet-ajax/ToolTip/Examples/RadToolTipManagerClientAPI/DefaultCS.aspx


Best wishes,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ToolTip
Asked by
Andy Stapleton
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Andy Stapleton
Top achievements
Rank 1
Share this question
or