Show/Hide Tool Tip

4 posts, 0 answers
  1. Web Services
    Web Services avatar
    243 posts
    Member since:
    Apr 2008

    Posted 15 Mar 2011 Link to this post

    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
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 16 Mar 2011 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Web Services
    Web Services avatar
    243 posts
    Member since:
    Apr 2008

    Posted 16 Mar 2011 Link to this post

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

    Posted 16 Mar 2011 Link to this post

    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!
Back to Top