I am trying to create a tooltip that has its content populated from a web service for dynamic RadPanelItems. The thing that I am struggling to get to work is that the tooltip manager does not seem to know when the RadPanelItem has been clicked.
I have so far tried the following:
1) Change the OnClientItemClicking event for the RadPanelItem so that it does not perform its click command.
function OnClientItemClicking(sender, args)
{
args.set_cancel(true);
}
This still seems to cause a postback.
2) I have tried using both a RadTooltip and a RadTooltipManager, I get the Manager to work for data populated using a Repeater, but not a RadPanelBar.
Your help would be much appreciated as I have been struggling for hours and have run out of ideas.
Thanks
Matt
Edit: I managed to get this to work using the following example, http://www.telerik.com/DEMOS/ASPNET/Prometheus/ToolTip/Examples/RadToolTipManagerClientAPI/DefaultCS.aspx
I have so far tried the following:
1) Change the OnClientItemClicking event for the RadPanelItem so that it does not perform its click command.
function OnClientItemClicking(sender, args)
{
args.set_cancel(true);
}
This still seems to cause a postback.
2) I have tried using both a RadTooltip and a RadTooltipManager, I get the Manager to work for data populated using a Repeater, but not a RadPanelBar.
Your help would be much appreciated as I have been struggling for hours and have run out of ideas.
Thanks
Matt
Edit: I managed to get this to work using the following example, http://www.telerik.com/DEMOS/ASPNET/Prometheus/ToolTip/Examples/RadToolTipManagerClientAPI/DefaultCS.aspx