I've a page with a RadScheduler on it and I'm trying to get ToolTips working with the scheduler.
I've got all the relevant code from this example but the tooltip manager isn't firing its OnAjaxUpdate event. For information, my RadToolTipManager definition is shown below.
I know that the relevant controls are being added to the TargetControls collection, I can watch it happen in the debugger and I can see that the ID of the control added to the TargetControls collection is the same as the appointment that is rendered on the page.
Putting a breakpoint in the server-side event handler fires nothing, but then I guess that that is because no Ajax request is ever made. I know this 'cos I added the alert call in to the following JS code from the page.
and I don't get the alert or my expected tooltip. All I get is the standard HTML tooltip.
Is there a reason why the Ajax event wouldn't be called?
--
Stuart
I've got all the relevant code from this example but the tooltip manager isn't firing its OnAjaxUpdate event. For information, my RadToolTipManager definition is shown below.
<telerik:RadToolTipManager runat=
"server"
ID=
"RadToolTipManager1"
Width=
"320"
Height=
"210"
Skin=
"Office2007"
Animation=
"None"
HideEvent=
"LeaveToolTip"
Text=
"Loading..."
RelativeTo=
"Element"
OnAjaxUpdate=
"RadToolTipManager1_AjaxUpdate"
OnClientBeforeShow=
"SchedulerToolTipBeforeShow"
EnableShadow=
"true"
/>
I know that the relevant controls are being added to the TargetControls collection, I can watch it happen in the debugger and I can see that the ID of the control added to the TargetControls collection is the same as the appointment that is rendered on the page.
Putting a breakpoint in the server-side event handler fires nothing, but then I guess that that is because no Ajax request is ever made. I know this 'cos I added the alert call in to the following JS code from the page.
Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(beginRequestHandler);
function
beginRequestHandler(sender, args) {
alert(
"!"
);
if
(args.get_postBackElement().id.indexOf(
'RadScheduler1'
) != -1) {
hideActiveToolTip();
}
}
and I don't get the alert or my expected tooltip. All I get is the standard HTML tooltip.
Is there a reason why the Ajax event wouldn't be called?
--
Stuart