Hello Marc,
In addition to the code snippet you have shared, you will also need to attach the OnAjaxUpdate event to the Grid and update the ContentTemplateContainer with the ToolTip value.
Sample C# code
protected void OnAjaxUpdate(object sender, ToolTipUpdateEventArgs args)
{
string ttValue = args.Value;
args.UpdatePanel.ContentTemplateContainer.Controls.Add(new LiteralControl(ttValue));
}
I have updated the documentation article to explicitly mention that. Here is the Git commit: docs(tooltip): fix snippets. Changes will be applied within an hour counting from the time the Commit was pushed to the production branch.
Kind regards,
Doncho
Progress Telerik
Get
quickly onboarded and successful with UI for ASP.NET AJAX with the Virtual Classroom technical trainings, available to all active customers.
Learn More.