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

Show My own Customized HTML Tooltip on Mouseover usinng javascrpt

1 Answer 18 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Kiresh
Top achievements
Rank 1
Kiresh asked on 12 Aug 2013, 04:57 AM
Hello everyone,

I want to Show My own Customized HTML Tooltip on Mouseover of grid Cell usinng javascrpt.

can anyone help me out?

Thanks,

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 13 Aug 2013, 09:29 AM
Hello Kiresh,

There are different ways to do this and which one you choose depends on your preferences and project. What I can suggest as a starting point are the following resources:
- examine this demo as it has a similar scenario: http://demos.telerik.com/aspnet-ajax/tooltip/examples/tooltipversustooltipmanager/defaultcs.aspx.
- set the ToolTip server property of the desired target to the wanted HTML string and add that element as a target for the tooltipManager
- add a tooltip for each row and set its Text or content as desired
- examine this demo: http://demos.telerik.com/aspnet-ajax/tooltip/examples/databasetooltipswithoutlod/defaultcs.aspx. In a similar fashion you can build the desired HTML from any other data/logic
- examine the client-side API of the tooltip manager so that you can combine this approach with setting the ToolTip property of the cell: http://demos.telerik.com/aspnet-ajax/tooltip/examples/radtooltipmanagerclientapi/defaultcs.aspx.
- examine this demo to see how specific controls can be used for targets: http://demos.telerik.com/aspnet-ajax/tooltip/examples/targetcontrolsandajax/defaultcs.aspx?product=tooltip.
- examine this demo to see how you can return simple HTML from a webservice: http://demos.telerik.com/aspnet-ajax/tooltip/examples/webservice/defaultcs.aspx.


Regards,
Marin Bratanov
Telerik
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 the blog feed now.
Tags
ToolTip
Asked by
Kiresh
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or