Solution of Rad Tooltip overlaps the target control problem


Solution of Rad Tooltip overlaps the target control Problem

The most common problem faced by the Telerik Toltip User is that The telerik tooltip overlaps the target control. you can find the problem in below image.

To solve this problem we need to add the client side script in Telerik Tooltip for OnClientBeforeShow event.

Code :



<telerik:RadToolTip OnClientBeforeShow="OnClientBeforeShow" Width="200" TargetControlID="lblTooltip"
ID="RadToolTip1" runat="server">
Hi, This is a Tool Tip Message.
</telerik:RadToolTip>


Add below javascript in your ASPX page.


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



Thank You.


Comments

No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: