My requirement is to display a tool-tip for a radwindow when i mouse hover the window? Can somebody suggest us on how to implement this?
Cheers,
Sabrina
1 Answer, 1 is accepted
0
Fiko
Telerik team
answered on 04 Jun 2010, 02:01 PM
Hello Sabrina,
Your scenario is possible only when the RadWindow's content is set through its <ContentElement>. If this is your case the solution should looks like this:
var oWindow = $find("<%= RadWindow1.ClientID %>");
oWindow.show();
showWindowToolTip(oWindow);
}
function showWindowToolTip(oWindow)
{
var radToolTipManager = $find("<%= RadToolTipManager1.ClientID %>");
var radToolTip = radToolTipManager.getToolTipByElement(oWindow.get_popupElement());
if (!radToolTip)
{
var radToolTip = radToolTipManager.createToolTip(oWindow.get_popupElement());
}
}
</script>
</telerik:RadScriptBlock>
Please note that if you load a different document in RadWindow control (using NavigateUrl property) you can set tooltip only to the RadWindow's elements like command buttons for example. The tootltip will not be shown when the mouse is over the RadWindow's content.
I hope this helps.
All the best,
Fiko
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.