View Attractive Tool Tip on Mouseover with use of JQuery

First of all add below code inside the <head> tag ::

<%--Script to be added for tooltip starts here--%>
<link rel="Stylesheet" href="../Styles/jquery-ui.css" />
  <script type="text/javascript" src="../Scripts/jquery-1.9.1.js"></script>
  <script type="text/javascript" src="../Scripts/jquery-ui.js"></script>
  <script type="text/javascript">
      $(function () {
  <style type="text/css">
  label {
    display: inline-block;
    width: 3em;
  <%--Script to be added for tooltip ends here--%>

Then inside body write following code::
          Enter your Name: <asp:Image src="../images/icon-help.png" ID="imgNameHelp"  title="Enter Name Here. More Text Here.  More Text Here.  More Text Here. More Text Here" runat="server"/>

The attribute title is important and what you have written inside head tag will only make a tool tip for your control..It will work for all controls almost, just use title tag.

Links for downloading needed .css and .js files (Go to the links and Save files as it is and add it to your projects)::


Popular posts from this blog

StateCode and StatusCode Values for mostly used entities in Microsoft Dynamics CRM 2013

How to import CSV files into DataTable in C#

Search data in Gridview on Textbox Key press event using JQuery in Asp.Net- C#

go to top image