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

Show/Hide Tool Tip

3 Answers 76 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Web Services
Top achievements
Rank 2
Web Services asked on 15 Mar 2011, 05:45 PM
I have a tool tip that I want to show after a form submit to say record inserted. I created the tool tip and then tried to show it in the server code but it's not working what am I missing. Here is the tool tip code

        <telerik:RadToolTip runat="server" ID="success" Height="60px" Width="250px"
                                    Position="Center" RelativeTo="BrowserWindow" AutoCloseDelay="5000">
                                </telerik:RadToolTip>

Here is what i tried in my vb code behind
        success.Text = "The customer was added"
        success.Visible = True

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 16 Mar 2011, 09:22 AM
Hello,


When you have ShowEvent="FromCode" you should programmatically show the tooltip. This can be done both on the client and on the server side. To show the tooltip from the server you should call its server method Show() as shown below.

         success.Show();

For more information, check the demo:
ToolTip / Relative to



-Shinu.
0
Web Services
Top achievements
Rank 2
answered on 16 Mar 2011, 02:00 PM
Thanks, I will check that out. I know you guys have great examples, I can just never seem to find the right one! FYI, that tool tip page does not work in chrome. No biggie, I just thought I would let you know.
0
Marin Bratanov
Telerik team
answered on 16 Mar 2011, 04:27 PM
Hello,

I believe that the show() method will work fine for you.
On a side note - on my end the demo is working fine under Chrome 10.0.648.134 which can be seen in the following video: http://screencast.com/t/2aXrIQYvpA
Please check whether you are using an old version of Chrome.
Let me know if you have any other problems.


All the best,
Marin
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
ToolTip
Asked by
Web Services
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Web Services
Top achievements
Rank 2
Marin Bratanov
Telerik team
Share this question
or