This is a migrated thread and some comments may be shown as answers.

Tooltip points to the previously selected row.

4 Answers 40 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Newbie
Top achievements
Rank 1
Newbie asked on 04 Sep 2012, 09:07 PM

Hello
I am new to telerik controls and new to the company I am working for. I have asked to fix some telerik control updates

  1. First one is tooltip is needed to be clicked twice to open for the first time
  2. and the second one is It always points to the previously selected row.

I am attaching the pics to be more clear

On .aspx
  
 <telerik:RadToolTip runat="server" ID="plRadToolTip" Skin="AlSkin" EnableEmbeddedSkins="false" EnableShadow="false"
        Position="MiddleLeft" ShowEvent="OnClick" HideEvent="ManualClose" RelativeTo="Element">
        <div id="divPLToolTipDiv1" runat="server">
            <div class="plToolTipDiv2">
                <div class="plToolTipTitleDiv" id="divPLToolTipTitle">
                </div>
                <div class="plToolTipLinkDiv" id="divPLToolTipSearchKB">
                    <a id="aPLToolTipSearchKB" runat="server"><span id="spnPLToolTipSearchKBText" runat="server">
                    </span></a>
                </div>
                <div class="plToolTipLinkDiv" id="divPLToolTipDocumentation">
                    <a id="aPLToolTipDocumentation" runat="server"><span id="spnPLToolTipDocumentationText"
                        runat="server"></span></a>
                </div>
                <div class="plToolTipLinkDiv" id="divPLToolTipAddIncident">
                    <a id="aPLToolTipAddIncident" runat="server"><span id="spnPLToolTipAddAnIncidentText"
                        runat="server"></span></a>
                </div>
                <div class="plToolTipLinkDiv" id="divPLToolTipDownloadPatches">
                    <a id="aPLToolTipDownloadPatches" runat="server"><span id="spnPLToolTipDownloadPatchesText"
                        runat="server"></span></a>
                </div>
                <div class="plToolTipLinkDiv" id="divPLToolTipUpdateMyProductLine">
                    <a id="aPLToolTipUpdateMyProductLine" runat="server"><span id="spnPLToolTipUpdateMyProductLineText"
                        runat="server"></span></a>
                </div>
                <div class="plToolTipLinkDiv" id="divPLToolTipUpdateMyProductLines">
                    <a id="aPLToolTipUpdateMyProductLines" runat="server"><span id="spnPLToolTipUpdateMyProductLinesText"
                        runat="server"></span></a>
                </div>
            </div>
        </div>
    </telerik:RadToolTip>
Javascipt used
  
 function ShowProductLineToolTip(target_id, title, product_line_id, category_id, doc_page_to_show, show_kb, show_doc, show_ai, show_dlp, show_umpl, show_umpls) {
      var toolTip = $find("plRadToolTip");
I really appreciate any kind of help.. I am totally lost here.

Thanks

4 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 05 Sep 2012, 08:53 AM
Hi,

The code you pasted does not seem to be complete, for instance - the JavaScript function does not show how you open the tooltips. In case you are calling their show() method when you need to I advise that you examine the following sticky thread on the matter: http://www.telerik.com/community/forums/aspnet-ajax/tooltip/changing-targetcontrol-on-the-client.aspx. Also, in that case ShowEvent should be set to FromCode and not to OnClick, because OnClick would add handlers to the targeted control which can interfere with your logic.


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.
0
Newbie
Top achievements
Rank 1
answered on 06 Sep 2012, 04:24 PM
Thankyou very much for you reply. Setting show event to from code does help to solve my first issue. I dont have to click tooltip twice to open it. But my tooltip still points to the previously selected row.
0
Accepted
Marin Bratanov
Telerik team
answered on 07 Sep 2012, 12:08 PM
Hi,

Have you tried increasing the timeout, for example to 50 or 100ms? If this does not help I suggest you post some more code so we can reproduce the problem in order to help.


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.
0
Newbie
Top achievements
Rank 1
answered on 07 Sep 2012, 01:07 PM
Thankyou I works now after increasing the timeout. Thanks again.
Tags
ToolTip
Asked by
Newbie
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Newbie
Top achievements
Rank 1
Share this question
or