Show My own Customized HTML Tooltip on Mouseover usinng javascrpt

2 posts, 0 answers
  1. Kiresh
    Kiresh avatar
    24 posts
    Member since:
    Sep 2012

    Posted 11 Aug 2013 Link to this post

    Hello everyone,

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

    can anyone help me out?

    Thanks,
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3595 posts

    Posted 13 Aug 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top