Tooltip points to the previously selected row.

5 posts, 1 answers
  1. Newbie
    Newbie avatar
    11 posts
    Member since:
    Sep 2012

    Posted 04 Sep 2012 Link to this post

    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
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3599 posts

    Posted 05 Sep 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Newbie
    Newbie avatar
    11 posts
    Member since:
    Sep 2012

    Posted 06 Sep 2012 Link to this post

    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.
  5. Answer
    Marin Bratanov
    Admin
    Marin Bratanov avatar
    3599 posts

    Posted 07 Sep 2012 Link to this post

    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.
  6. Newbie
    Newbie avatar
    11 posts
    Member since:
    Sep 2012

    Posted 07 Sep 2012 Link to this post

    Thankyou I works now after increasing the timeout. Thanks again.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017