New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
OnClientResponseEnd
Updated over 6 months ago
The OnClientResponseEnd event is fired immediately after the response from a WebService or an AJAX request is received. This provides an opportunity to make changes just before the content of the tooltip is displayed. It receives two parameters:
-
The RadToolTipManager instance that fired the event. Note that this is not the tooltip that is being shown, this reference should be obtained via the static
getCurrent()method of the class -
Event arguments - an empty object that does not expose properties or methods.
ASP.NET
<script type="text/javascript">
function OnClientResponseEnd(sender, args)
{
var current = Telerik.Web.UI.RadToolTip.getCurrent();
if (current)
{
current.set_modal(false);
}
}
</script>
<telerik:RadToolTipManager RenderMode="Lightweight" ID="RadToolTipManager1" OnClientResponseEnd="OnClientResponseEnd">
<WebServiceSettings Method="GetToolTipData" Path="ToolTipWebService.asmx" />
</telerik:RadToolTipManager>