Getting two tooltips.

2 posts, 0 answers
  1. Prasad
    Prasad avatar
    40 posts
    Member since:
    Sep 2011

    Posted 28 Dec 2012 Link to this post

    Hi,

    I am getting two tooltips (one is comming from the rad tooltip manager another one is default tooltip).

    In my project i placed tooltip manager in Master page, I am getting  two tooltips for the link butoon in all over my application.

    please provide sol to avoid these two tooltips.

    I am sending my sample design page for your reference.

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
        <script type="text/javascript">
            function TooltipBeforeShowHandler(sender, args) {

                var newTitle = sender.get_targetControl().title;
                if (newTitle) {
                    sender.set_text(newTitle);
                }

            }     
        </script>
        <style type="text/css">
            #RadToolTipWrapper_RadToolTipManager1
            {
                z-index: 5895895 !important;
            }
        </style>
    </head>
    <body>
        <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        <div>
            <telerik:RadToolTipManager ID="RadTooltipManager1" runat="server" AutoTooltipify="true"
                OnClientBeforeShow="TooltipBeforeShowHandler" Skin="Office2007">
            </telerik:RadToolTipManager>
            <telerik:RadDockZone ID="RadDockZone1" runat="server" Height="300px" Width="300px">
                <telerik:RadDock ID="RadDock1" runat="server" Width="300px">
                    <TitlebarTemplate>
                        <asp:LinkButton ID="lnkDomainTop" Style="text-decoration: none; padding-top: 5px"
                            ForeColor="black" Height="10px" Font-Bold="true" runat="server" Text="Morning Mesage"
                            ToolTip="Information domain"></asp:LinkButton>
                    </TitlebarTemplate>
                    <ContentTemplate>
                        <asp:Label ID="Label1" runat="server" Text="Hi, Good morning Hi, Good morning Hi, Good morning Hi, Good morning Hi, Good morning Hi, Good morning Hi, Good morning Hi, Good morning Hi, Good morning Hi, Good morning Hi, Good morning Hi, Good morning Hi, Good morning Hi, Good morning Hi, Good morning Hi, Good morning Hi, Good morning "></asp:Label>
                    </ContentTemplate>
                    <Commands>
                    </Commands>
                </telerik:RadDock>
            </telerik:RadDockZone>
        </div>
        </form>
    </body>
    </html>

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 02 Jan 2013 Link to this post

    Hi Prasad,

    It seems this thread is very similar to your previous one on the same subject: http://www.telerik.com/community/forums/aspnet-ajax/tooltip/getting-two-tooltips.aspx. You have not answered any of my questions there, so I would ask that you try my suggestions and let me know what the result is. In case you are using AJAX you can also try moving the RadToolTipManager out of any update panels or AJAX settings to avoid disposing it. You should also make sure it is the only tooltip manager on the page with AutoTooltipify set to true.

    What I see in this screenshot is some strange behavior and I cannot find a reason for it in the code snippet you have pasted. It seems to work fine on my end (you can find attached my test page and a video from my experiment). Note that when AutoTooltipify is enabled setting the text manually in the tooltip is not needed. In case comparing them with your actual setup does not help, nor do my ideas from the other thread, I advise that you open a support ticket and send me a simple, runnable project that shows the problem so I can debug it.


    Kind regards,
    Marin Bratanov
    the Telerik team
    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 their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top