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

RadToolTip Position Problem

1 Answer 119 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
rrawla
Top achievements
Rank 1
rrawla asked on 16 Sep 2008, 06:22 PM
Hi,
I'm using RadToolTipManager LoadOnDemand functionality in my project.

I've a usercontrol say abc.ascx and it consists of RadGrid control and someother controls,on radgrid Itemdatabound event I'm adding  rows of that grid in targetcontrol collection of tooltipmanager and then onajaxupdate event I load a xyz.ascx control to show on demand in the tooltip.

Now I use this usercontrol abc.ascx in  default.aspx , everything works as expected until I use the control twice.As long as there was 1 grid control (abc.ascx) in default.aspx it worked as expected ,but as soon as I added another instance of the abc.ascx (abc1 and abc2) then the tooltip position started jumping.It shows tooltip of grid2 in grid1 row.

Can some one please help asap ?

Here is my setting for RadToolTipManager

<telerik:RadToolTipManager ID="toolTipManager" runat="server" Position="BottomRight"
                Animation="Fade" OnAjaxUpdate="OnAjaxUpdate" Skin="Outlook"  AutoTooltipify="false"             
        Width="530px" Height="40%" AutoCloseDelay="20000"    OnClientBeforeShow="fnConfigure"    RelativeTo="Element"     
        Style="font-size: 18px; text-align: center; font-family: Arial; display: none;">      
    </telerik:RadToolTipManager>

<script type="text/javascript">
    <!--
function fnConfigure(sender, args) {
            sender._popupBehavior.set_keepInScreenBounds(false);           
        }
 -->   
    </script>

Thanks!
Rahul

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 18 Sep 2008, 10:12 AM
Hi rrawla,

I already answered your support thread and for your convenience I pasted my reply below:

As far as I understood your scenario is a complex one and until I have a better understanding on it I am not able to determine what exactly causes the problem. I am also not sure how exactly you add the user controls on the page - dynamically, through AJAX or they are initially declared? I assume that a possible problem could be that in case you use the LoadControl method you do not provide different ID for the second control.

I want to kindly ask you to prepare and send me a sample, fully working demo project (including DB, if needed, e.g use Northwind) along with some screenshots and detailed explanation of the desired behavior. Once I receive it, I will do my best to help.


All the best,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ToolTip
Asked by
rrawla
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or