ToolTip - Web Service

This example shows how to dynamically set the content of the RadToolTip, the RadToolTip manager is about to open. This is an alternative of the Load On Demand mechanism, however, in this case we use a WebService.

The path to the web service and the name of the service method are specified in the WebServiceSettings' Path and Method properties.

In order to use the integrated support, the web service should have the following signature (including the parameter name - context):

[ScriptService]

publicclassWebServiceName : WebService

{

[WebMethod]

publicstringWebServiceMethodName(objectcontext)

{

// We cannot use a dictionary as a parameter, because it is only supported by script services.

The LiveDemos folder (in your installation directory) contains the full code of the examples and once you open the solution
you can find the full code of the webservice (ultimately in the ~/App_Code/ToolTipWebService.cs file).