This is a migrated thread and some comments may be shown as answers.

Fire OnAjaxUpdate from client side

1 Answer 30 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Alex Lawson
Top achievements
Rank 1
Alex Lawson asked on 09 Aug 2010, 12:19 PM
HI,

I am writing an interface whichh uses AJAX and nonAJAX enabled controls, I am having problems getting a nonajaxed control to implement its tooltips via the Telerik ToolTipManager.  The control is a flowchart called go.net, I have got it to fire a javascript event when hovering over a node but am stuck there.

The tooltipmanager is setup to load a seperate ascx page as per your demo's, the onajaxupdate looks something like:

protected void OnAjaxUpdate(object sender, ToolTipUpdateEventArgs args)
{
    // Get control references
 
    Control toolTip = LoadControl("~/SharedToolTip.ascx");
    Label titleLabel = (Label)toolTip.FindControl("lblTitle");
    Label displayLabel = (Label)toolTip.FindControl("lblFullText");
 
    ...
}

Is it possible to initiate the onajxupdate event of the tooltipmanager from javascript?  I am using the 'args' parameter to pass a control array through, so ideally would need that functioanlity to.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 12 Aug 2010, 08:54 AM
Hi Alex Lawson,

 To fire the OnAjaxUpdate event from the client, you should show the tooltip by using the method show(). It is possible to also create the whole tooltip on the client or simply reference it and call show(). Sample demo demonstrating this functionality is available below:

http://demos.telerik.com/aspnet-ajax/tooltip/examples/radtooltipmanagerclientapi/defaultcs.aspx

Kind regards,
Svetlina
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
Tags
ToolTip
Asked by
Alex Lawson
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or