Hello,
I am using .NET MVC project. I have External MVVM template. I am using for , autocomplete, . I want to know how can make shared templates and can load multiple templates at use load respected with their templates and editor templates?
Please tell a good way to split out my .tmpl.htm file as there is now of templates in one .tmpl.htm file. I want to create components like shared partial view which has editors in asp.net (which can be used in too)
0
Ianko
Telerik team
answered on 13 Sep 2017, 01:18 PM
Hello Neeraj,
I assume you are using the Remote Templates example demonstrated here: http://docs.telerik.com/kendo-ui/framework/templates/load-remote#remote-templates. Although the example shows how to use a single file, you can still use multiple files and load the ones needed in the pages/views where required. I doubt that this requires any additional code to be implemented, you need to only load the remote templates where you need them.
As for the "editor in asp.net", I am not sure what you aim. If you would like to use those templates as MVC Editor templates, then you should consider using proper partial views. Those remote views cannot be rendered as MVC editor (@Html.EditorFor) or utilize such in the code.