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

Tooltip comes back after closed

1 Answer 18 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Gina
Top achievements
Rank 1
Gina asked on 21 May 2009, 04:08 PM
I need to create a tooltip to pop up a confirmation number. I have it working great off the submit button.. I have it set to Modal = true and sticky = true... so that they have to click on a link in the tooltip to bring them back to the form again. I tried to have them click the manual close button but I ran into the same problem... What is happening is once they close the tooltip via manually and go back to the form to enter another, there is a button in the beginning that needs to update some data the Same Tooltip comes back... If I remove the maual close and have them click the link in the tooltip it will work ok.. but if the user clicks on the page instead of the link the tooltip disappears and then when they start entering a form and click that button it comes back again...  Is there a way to close the tooltip so that it will not come back until they click the submit button for a new confirmation number?

 <telerik:RadToolTip ID="rdtConfNumb"
                        runat="server"
                        CssClass="LblName"
                        ShowEvent="FromCode"
                        Width="250px"
                        Position="Center"
                        Height="50px"
                        RelativeTo="Element"
                        Animation="None"
                        Modal="true"
                        Sticky="true"
                        Skin="Office2007">
        
        <div style="padding:20px">
        <table>
            <tr>
            <td>
            <asp:Label ID="Label1" runat="server" CssClass="LblName" Text="Confirmation Number:&nbsp;&nbsp; "></asp:Label>
            </td>
                <td>
                    <asp:Label ID="lblConfNumb" CssClass="LblName" runat="server" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
            <td colspan=2>
            <br />
                <asp:HyperLink ID="hlNewTrack" runat="server" NavigateUrl="~/Tools/Workforce/AttendanceHotlineForm.aspx">Add Another Hotline Tracker</asp:HyperLink>
            </td>
            </tr>
             <tr>
            <td colspan=2>
                <asp:HyperLink ID="hlHome" runat="server" NavigateUrl="~/File/Home.aspx">Home</asp:HyperLink>
            </td>
            </tr>
            
        </table>
    </div>
    </telerik:RadToolTip>

here is how i open the tooltip... which this method is called in the submit button...
  public void ShowConfirmNumber()
    {        
        lblConfNumb.Text = _ConfirmNumber.ToString();
        rdtConfNumb.Show();
    }

here is the javascript i have on the page
  function OnClientBeforeHide_Completed(sender, args) {
                args.set_cancel(true);
            }




1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 25 May 2009, 10:15 AM
Hi Gina,

I am afraid I could not completely understand the problem - I built up a test demo based on your code and explanations but I was not able to observe the issue. What I did for a test was to show the tooltip by clicking on the Submit button, then move the mouse on and out of the tooltip in order to hide it and then click on the other button. However, the second button did not make the tooltip show again. Would you please examine the attached test demo and let me know what I am doing wrong? Once I receive detailed reproduction steps and I am able to observe the issue locally, I will do my best to help.

Sincerely yours,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ToolTip
Asked by
Gina
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or