Tool Tip Problem

  1. #1

    Tool Tip Problem

    Hi Danill,

    I am working on Gridview having TopBar Containing buttons as Add, Delete

    I have added tool tip for Add Button as

    <ToolTips>
    <ext:ToolTip ID="ToolTip2" runat="server" TrackMouse="true" Target="btnAdd" Html="This tip will follow the mouse while it is over the element his tip will follow the mouse while it is over the element his tip will follow the mouse while it is over the element"
                                                    Title="Help" Width="200" Border="true" Height="100" Frame="true">
                                                    <Content>
                                                        <h1>
                                                            hello
                                                        </h1>
                                                        <ul>
                                                            <li>ul - unordered list</li>
                                                            <li>ol - ordered list</li>
                                                            <li>dir - directory list (deprecated)</li>
                                                            <li>menu -</li>
                                                        </ul>
                                                    </Content>
                                                </ext:ToolTip>
     </ToolTips>
    when i hove mouse on it does not show Tooltip

    but when i am hovering it on Ext button which is not on topbar it is showing tool tip successfully

    can u please, help me out for this problem.

    Thanks and Regards
    Ganesh.
    Last edited by geoffrey.mcgill; Jan 21, 2011 at 5:42 PM. Reason: please use [CODE] tags
  2. #2
    Hi,

    I can't reproduce the issue in according to the details that you provided. Tooltip appears in this example. So, how can I reproduce?

    Example
    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <script runat="server">
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!X.IsAjaxRequest)
            {
                Store store = this.GridPanel1.GetStore();
                store.DataSource = new object[] 
                { 
                    new object[] { "test11", "test12", "test13" },
                    new object[] { "test12", "test22", "test23" },
                    new object[] { "test13", "test32", "test33" }
                };
                store.DataBind();
            }
        }
    </script>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Ext.Net Example</title>
    </head>
    <body>
        <form runat="server">
        <ext:ResourceManager runat="server" />
        <ext:GridPanel ID="GridPanel1" runat="server" AutoHeight="true">
            <Store>
                <ext:Store runat="server">
                    <Reader>
                        <ext:ArrayReader>
                            <Fields>
                                <ext:RecordField Name="test1" />
                                <ext:RecordField Name="test2" />
                                <ext:RecordField Name="test3" />
                            </Fields>
                        </ext:ArrayReader>
                    </Reader>
                </ext:Store>
            </Store>
            <ColumnModel runat="server">
                <Columns>
                    <ext:Column Header="Test1" DataIndex="test1" />
                    <ext:Column Header="Test2" DataIndex="test2" />
                    <ext:Column Header="Test3" DataIndex="test3" />
                </Columns>
            </ColumnModel>
            <TopBar>
                <ext:Toolbar runat="server">
                    <Items>
                        <ext:Button ID="Button1" runat="server" Text="Add" />
                    </Items>
                    <ToolTips>
                        <ext:ToolTip 
                            runat="server" 
                            Target="Button1" 
                            TrackMouse="true" 
                            Title="Help" 
                            Html="Hi!" />
                    </ToolTips>
                </ext:Toolbar>
            </TopBar>
        </ext:GridPanel>
        </form>
    </body>
    </html>

Similar Threads

  1. [CLOSED] Tool tip on columnrenderer
    By SymSure in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 19, 2011, 8:17 AM
  2. GridPanel Bottom tool bar help
    By gopikrishna in forum 1.x Help
    Replies: 0
    Last Post: Mar 06, 2011, 8:28 AM
  3. [CLOSED] Tool Bar IE issue
    By sharif in forum 1.x Legacy Premium Help
    Replies: 13
    Last Post: Feb 15, 2010, 12:14 PM
  4. [CLOSED] [1.0] Tool
    By state in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 21, 2010, 5:21 PM
  5. Paging Tool Bar - NaN
    By Tbaseflug in forum 1.x Help
    Replies: 1
    Last Post: May 23, 2009, 10:06 AM

Posting Permissions