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

Using RadWindow for balloon-style controls

3 Answers 59 Views
Window
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 02 Sep 2008, 04:01 PM
Hi,

I want do create a balloon-style language chooser (something like these balloons: http://www.beauscott.com/examples/help_balloons/doc/examples.php).
When the user clicks a LinkButton un the top right corner of the page
the ballon shall open and present all available languages.

Is RadWindow the compnent of choice for this? If yes, how can I get the
tip which points at the LinkButton when the window is open?

Best regards,
Robert

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 03 Sep 2008, 02:31 PM
Hello Robert,

I think you will implement this functionality easier if you are using RadToolTip. Unlike RadToolTip, RadWindow's content is a separate page, different from the main one.




Greetings,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Robert
Top achievements
Rank 1
answered on 05 Sep 2008, 01:34 PM
Hi Tunev,

thank you for that hint. Using RadTooltip almost solves my problem. There are only
two things that don't work as expected:

1.
The small tip which points to the control the tooltop belongs to is not drawn

2.
When I click on one of the bottons inside the tooltip my masterpages' Page_Load() method is invoked. This is very undesireable. What could be the reason for that?

This is how my tooltip is created:
<telerik:RadToolTip ID="RadToolTip1" runat="server" 
            TargetControlID="lanSel" Animation="Resize" Position="BottomLeft" 
            ShowEvent="OnClick" AutoCloseDelay="0" ShowDelay="0">
           
            <table id="languageChooserTable" cellspacing="5px">
                <tr class="languageChooserTableCell">
                    <td class="languageChooserTableRow" style="background-color: Transparent;">
                        <asp:ImageButton ID="LangButtonDE" runat="server"
                            ImageUrl="../Resources/img/germany-small.png" 
                            onclick="LangButtonDE_Click" />
                    </td>
                    <td style="background-color: Transparent">
                        <asp:ImageButton ID="LangButtonPL" runat="server"
                            ImageUrl="../Resources/img/poland-small.png" 
                            onclick="LangButtonPL_Click" />
                    </td>
                    <td style="background-color: Transparent">
                        <asp:ImageButton ID="LangButtonRU" runat="server"
                            ImageUrl="../Resources/img/russia-small.png" 
                            onclick="LangButtonRU_Click" />
                    </td>
                </tr>
            </table>
        </telerik:RadToolTip>
0
Georgi Tunev
Telerik team
answered on 08 Sep 2008, 10:48 AM
Hi Robert,

Can you please open a support ticket and send us a small sample project where the problems can be reproduced? We will check it and do our best to help.



Sincerely yours,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
Robert
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Robert
Top achievements
Rank 1
Share this question
or