How do I code this for a razor web application. How do I code the content-url paramater?
Here is an MVC example of displaying a page in a Kendo window: https://demos.telerik.com/aspnet-core/window/tag-helper
@addTagHelper *, Kendo.Mvc @{ string[] actions = new string[] { "Close" }; } <kendo-window name="window" title="Rams's Ten Principles of Good Design" draggable="true" resizable="true" width="600" on-close="onClose" content-url="@Url.Action("AjaxContent_TagHelper", "Window")" actions="actions"> <content> loading user info... </content> <popup-animation enabled="false" /> </kendo-window> <span id="undo" style="display:none" class="k-button">Click here to open the window.</span> <script> function onClose() { $("#undo").show(); } $(document).ready(function() { $("#undo").bind("click", function() { $("#window").data("kendoWindow").open(); $("#undo").hide(); }); }); </script>
I got it figured out. But thanks for your help.