Template mechanism for loading data via web service

2 posts, 0 answers
  1. Karl-Heinz
    Karl-Heinz avatar
    2 posts
    Member since:
    Nov 2013

    Posted 03 Nov 2014 Link to this post

    Is there any template mechanism available, if the tool tip data is beeing loaded by a web service?
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3600 posts

    Posted 03 Nov 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top