Set TemplateName in TreeList edit-mode "PopUp"

2 posts, 0 answers
  1. Casablanca Hotelsoftware
    Casablanca Hotelsoftware avatar
    6 posts
    Member since:
    Jan 2014

    Posted 12 Dec 2016 Link to this post

    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!

  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    2027 posts

    Posted 14 Dec 2016 Link to this post

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