Tooltip in one location

2 posts, 1 answers
  1. Kurt Kluth
    Kurt Kluth avatar
    144 posts
    Member since:
    Oct 2009

    Posted 05 Aug 2013 Link to this post

    I like the features of the radtooltip as it makes it quite easy to use.  However I am curious if I can't specify the location of where the tool tip will display the help. 

    So when the user sets the focus onto the 1st form item the tooltip will actually be placed in the spot that reads "HELP WILL GO HERE".  This will allow me to setup my forms all the same and the end user will know where to find help.  How might I do this?

    <table>
        <tr>
            <td colspan="2" rowspan="2" valign="top">
                HELP WILL GO HERE
                <telerik:RadToolTipManager
                    ID="RadToolTipManager1" runat="server" Overlay="True" OnClientShow="OnClientShow" ShowEvent="OnFocus"
                    <TargetControls>
                        <telerik:ToolTipTargetControl TargetControlID="_682" />
                        <telerik:ToolTipTargetControl TargetControlID="_684" />
                        <telerik:ToolTipTargetControl TargetControlID="_686" />
                        <telerik:ToolTipTargetControl TargetControlID="_687" />
                        <telerik:ToolTipTargetControl TargetControlID="_688" />
                    </TargetControls>
                </telerik:RadToolTipManager>
            </td>
    </tr>
        <tr>
            <td>Number of Credit Unions:</td>
            <td>
                <telerik:RadNumericTextBox ID="_682" Runat="server"
                    ToolTip="Enter Number of Branches within your Credit Union."
                    CssClass="InputTextFF" Width="60px" Culture="en-US"
                    DataType="System.Single" DbValueFactor="1" LabelWidth="24px" MaxValue="10000"
                    MinValue="0" Value="0">
    <NumberFormat ZeroPattern="n" DecimalDigits="0"></NumberFormat>
                </telerik:RadNumericTextBox>
            </td>
            <td>682</td>
        </tr>
    </table>
  2. Answer
    Marin Bratanov
    Admin
    Marin Bratanov avatar
    3600 posts

    Posted 06 Aug 2013 Link to this post

    Hello Kurt,

    The RadToolTip (regardless whether it is a standalone control, or is generated by the RadToolTipManager) is an absolutely positioned popup that is relative to its target. It cannot render in place in the form on a given spot like div whose display CSS property you can toggle.
    I am afraid that at this point you can either have tooltips relative to their targets, or you will need to devise custom logic with custom content that will show the desired information all in one place.


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