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

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

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

Dumps for Microsoft Dynamics CRM MB2-703 Practice Exam Questions Free

How to import CSV files into DataTable in C#

How to show enlarge image when mouse hover on image or link in Asp.Net(c#) using JavaScript

go to top image