Telerik ToolTip

.aspx code:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ToolTip.aspx.cs" Inherits="PopUp.ToolTip" %>
<%@ Register Assembly="Telerik.Web.UI, Version=2012.3.1205.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
    Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<html>

<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
        <telerik:RadToolTip ID="RadToolTip1" runat="server" Position="TopCenter"
            Text="ToolTip for Help Image."
            TargetControlID="HelpImg3">
        </telerik:RadToolTip>
    </div>
    <p>
        <asp:Image runat="server" src="qmark.png" ID="HelpImg3"  align="absmiddle"
            alt="Question" Height="100px" Width="100px" ImageAlign="Middle" />
        </p>
    </form>
</body>
</html>


Note: add reference to project Telerik.Web.UI and also register like:
<%@ Register Assembly="Telerik.Web.UI, Version=2012.3.1205.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
    Namespace="Telerik.Web.UI" TagPrefix="telerik" %>


Output:
 

Comments

Popular posts from this blog

C# Copy files from one server to another

Export SharePoint Online Group Users to Excel using Powershell