Item Template consuming from MVC DisplayTemplates

2 posts, 0 answers
  1. Mike
    Mike avatar
    20 posts
    Member since:
    Feb 2017

    Posted 27 Jun 2017 Link to this post

    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
  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2002 posts

    Posted 29 Jun 2017 Link to this post

    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.
Back to Top