Hi Telerik team,
I am using a Radlistbox and show a tooltip .The proble is i am not able to get the tooltip at correct position . Here is my RadlistBOx code.
and here is my tooltip code. Actually i am using user control as tooltip.
and here is my c # code onSelectedIndexChanged="row_click"
And here is my defect: It is coming perfectly for first 12 elements which loads on page refresh. But the moment i scroll down and then select and item in radlistbox . Tooltip position goes up. I have tried many things. please help me asap.
Screenshot of problem. please use Google chrome to check my problem.
I am using a Radlistbox and show a tooltip .The proble is i am not able to get the tooltip at correct position . Here is my RadlistBOx code.
<telerik:RadListBox ID="RadListBox2" runat="server" Width="280px" Height="280px" CssClass ="radcss" AutoPostBackOnTransfer="true" AllowTransferOnDoubleClick="true" SelectionMode="Multiple" AutoPostBackOnReorder="true" EnableDragAndDrop="true" AutoPostBack="true" Skin="Office2010Blue" OnSelectedIndexChanged="row_click" AllowDelete="True" > <ButtonSettings ShowTransferAll="false" /> </telerik:RadListBox>and here is my tooltip code. Actually i am using user control as tooltip.
<telerik:RadToolTip ID="RadToolTip1" runat="server" BackColor="white" ManualClose="false" OnClientBeforeShow="OnClientBeforeShow" Relative To ="Element" RenderInPageRoot="true" EnableShadow="true" Animation="Slide" > <web:web ID ="tooltip" runat="server" /></telerik:RadToolTip>and here is my c # code onSelectedIndexChanged="row_click"
public void row_click(object sender, EventArgs e) { tooltip.Refresh(Convert.ToInt32(((Telerik.Web.UI.ControlItem)(((Telerik.Web.UI.RadListBox)(sender)).SelectedItem)).Value)); tooltip.UserName = Convert.ToString(((Telerik.Web.UI.ControlItem)(((Telerik.Web.UI.RadListBox)(sender)).SelectedItem)).Text); ((System.Web.UI.Control)(((Telerik.Web.UI.RadListBox)(sender)).SelectedItem)).Focus(); RadToolTip1.TargetControlID = ((System.Web.UI.Control)(((Telerik.Web.UI.RadListBox)(sender)).SelectedItem)).UniqueID; RadToolTip1.RelativeTo =Telerik.Web.UI.ToolTipRelativeDisplay.Element; RadToolTip1.Position = ToolTipPosition.MiddleRight; RadToolTip1.Overlay = true; RadToolTip1.ShowEvent = Telerik.Web.UI.ToolTipShowEvent.OnClick; RadToolTip1.Show(); }And here is my defect: It is coming perfectly for first 12 elements which loads on page refresh. But the moment i scroll down and then select and item in radlistbox . Tooltip position goes up. I have tried many things. please help me asap.
Screenshot of problem. please use Google chrome to check my problem.