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

Template mechanism for loading data via web service

1 Answer 43 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Karl-Heinz
Top achievements
Rank 1
Karl-Heinz asked on 03 Nov 2014, 08:41 AM
Is there any template mechanism available, if the tool tip data is beeing loaded by a web service?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 03 Nov 2014, 02:53 PM

Hello Karl-Heinz,

You can use a user control to render the desired HTML the service will return, just like this demo does: http://demos.telerik.com/aspnet-ajax/tooltip/examples/webservice/defaultcs.aspx. You can download a runnable solution with the demos site from your account if you find it easier to examine the code in Visual Studio. Of course, you can use any other approach to template the string that your service will return, depending on what you actually need.

You may also find useful this approach for defining templates to avoid any requests: http://demos.telerik.com/aspnet-ajax/tooltip/examples/databasetooltipswithoutlod/defaultcs.aspx.


Regards,

Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ToolTip
Asked by
Karl-Heinz
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or