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

Can I display two radtootipmanager controls together in the same time

3 Answers 43 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Bader
Top achievements
Rank 1
Bader asked on 30 Aug 2010, 06:59 PM
Hi,

I'm wonder if I can display two radtootipmanager controls together in the same time. Please, view the attached image to understand what I'm looking for.

Please, if you have any code or explaination, provide me with it.
I need an emergency help,

Regards,
Bader

3 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 02 Sep 2010, 10:09 AM
Hello Bader,

 Only a single tooltip might be visible at any given time. This behavior is by design and will not be changed as changing it would defy the purpose of the control.

The purpose of a tooltip is to provide additional information for a given element. It is not meant to be used as a popup control or as a draggable panel. For this purpose we provide RadWindow and RadDock controls. Both of these controls allow more than one visible element of the kind on the page.

Our suggestion is to consider using RadWindow and RadDock controls.

Greetings,
Svetlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Bader
Top achievements
Rank 1
answered on 03 Sep 2010, 05:44 PM
Hi,

Thank you for your reply,
I'm trying to achieve my requirement using radwindow or raddock. But unfortunatily, I failed.
How can I display the radwindow by going over the required area (Of course, the radwindow must display the returned content from the database)

In your demo http://demos.telerik.com/aspnet-ajax/tooltip/examples/imagemaptooltipmanager/defaultcs.aspx the radtootipmanager is displayed using the code:
foreach (PolygonHotSpot spot in MapOfEurope.HotSpots)
            {
                //The first argument of add method requires the client Id
                //the example implementation will set the id to be the name of the country itself
                this.RadToolTipManager1.TargetControls.Add(spot.AlternateText, spot.AlternateText, true);
            }

 <telerik:RadToolTipManager ID="RadToolTipManager1" Style="z-index: 1000" ShowCallout="true"
        RelativeTo="Mouse" HideEvent="LeaveToolTip" Position="BottomCenter" Animation="Fade"
        Width="180px" Height="150px" ContentScrolling="Auto" runat="server" Skin="Default" EnableShadow="true">
        <WebServiceSettings Method="GetCustomersByCountry" Path="ToolTipWebService.asmx" />
    </telerik:RadToolTipManager>


How can I cahange this code in order to display a radwindow or a raddock control instead.
Please, I tried alot and I got no results.

Please, I need your help,
It is very apprecited to send me a modiefied code.

Regards,
Bader
0
Svetlina Anati
Telerik team
answered on 08 Sep 2010, 12:45 PM
Hi Bader,

 What I suggest is to use the RadWindow with a ContentTemplate as shown below:

http://demos.telerik.com/aspnet-ajax/window/examples/internalcontent/defaultcs.aspx

To specify where exactly on the page to show it, you should set its Top and Left properties. After that you should simply show it,. Furthermore you can configure it to look like a tooltip by removing statusbar, handles etc. I strongly recommend to examine the RadWindow online demos to see how it could be shown and  configured:

http://demos.telerik.com/aspnet-ajax/window/examples/overview/defaultcs.aspx

Best wishes,
Svetlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ToolTip
Asked by
Bader
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Bader
Top achievements
Rank 1
Share this question
or