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

Tag helper custom editor popup

1 Answer 261 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 07 Dec 2019, 12:09 PM

What's the syntax for this as this doesn't seem to work?

 

 <editable enabled="true" mode="popup" template="/Features/Shared/EditorTemplates/FileUploadForm.cshtml" />

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 11 Dec 2019, 04:01 PM

Hello Tim,

To enable Custom Pop-up editing using Tag Helpers you could specify a template-id and invoke it in the scripts:

<editable mode="popup" template-id="popup-editor" />
....
<script id="popup-editor" type="text/x-kendo-template">
    @Html.Partial("PopupEditor")
</script>

In this scenario, the PopupEditor must be located in /Views/Home folder.

For your convenience, I am attaching a small project demonstrating the above.

Let me know if you have any questions.

Regards,
Nikolay
Progress Telerik

Get quickly onboarded and successful with Telerik UI for ASP.NET Core with the dedicated Virtual Classroom technical training, available to all active customers.
Tags
Grid
Asked by
Tim
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or