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

Item Template consuming from MVC DisplayTemplates

1 Answer 73 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 27 Jun 2017, 12:31 PM
Hi,
i'm struggling with the Kendo ListView.
I want to define the Templates with MVC standard DisplayTemplate and EditorTemplates.
But since the support from Telerik does not understand what i want and always pointing me to their demos - which are uselsse - i came here, hopefully there is somebody who can give me an answer about that.
we simply want to use Item Templates for the ListView control.
i dont want to use the Telerik Template language, since its not possible to access complex types (Navigationproperties).
has anybody an idea if its possible in general?
and if yes - are there any examples around?
thanks & best regards
Mike

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 29 Jun 2017, 11:20 AM

Hello Mike,

As it is explained in the Overview of Server-Side Wrappers article the server side wrappers: 

  • Allows you to configure a Kendo UI widgets via the C# or VB.NET codeā€”to set its value, data source, etc.
  • Renders the HTML and JavaScript needed to initialize a Kendo UI widget. The widget options propagate to the client-side via the widget initialization script.

So basically eventually the Kendo UI ListView (JavaScript) is initialized and the binding to the template is performed on the client-side using the kendo template. 

Could you please elaborate a bit more on your data and why the kendo template does not work for your case? 

Regards,
Boyan Dimitrov
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
ListView
Asked by
Mike
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or