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

Set TemplateName in TreeList edit-mode "PopUp"

1 Answer 123 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Casablanca
Top achievements
Rank 1
Casablanca asked on 12 Dec 2016, 12:15 PM

How can i apply an TemplateName or TemplateId to the Edit-Popup-Window of an TreeList?
I've got a partial-view named: MotivTreeViewViewModelEdit and i i want to set it to the Popup Window like in ASP.NET MVC Grid

....Editable(editable => editable.Mode("popup").TemplateName("MotivTreeViewViewModelEdit"))

The HtmlHelper supports the feature but i think it is not renderd.

Kind regards!

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 14 Dec 2016, 11:51 AM
Hello,

The TreeList supports custom popup templates and you can set the name of the partial view file through the TemplateName. However, please have in mind that the partial view should be located in the View/Shared/EditorTemplates folder. Please ensure that the partial view for the popup template is placed and that folder and let know if other questions arise on this matter.


Regards,
Konstantin Dikov
Telerik by Progress
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
TreeList
Asked by
Casablanca
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or