I have a repository class in the App_Code directory. The Repository Class makes a Web API 2 call to an external service that returns dealer locator data in a List of Dealers.
Is there a how to somewhere that will explain to me how to wire that repository class up to Kentico where a Kentico repeater can display that data?
Thanks David
Hello,
You can create your custom data source web part (https://docs.kentico.com/display/K9/Developing+data+source+web+parts) and use it in Portal engine. Or assing the List directly to repeater.DataSource parameter adn the Bind it.
You class attributes will be accesibble in the transfromation just by the names
<%# Eval("YourClassAttributeName") %>
What is your question exactly?
Thanks just did the example, looks easy to implement...
David
Please, sign in to be able to submit a new answer.