I changed a View into a PartialView so now I need to use ASPX instead of Razor. However, I can’t find anywhere how I can change the syntax of
<button onclick="$('#@Model.meta.modelname').koform('submit');">
so that it works with in ASPX.
full code:
<%@ Control Language="C#" Inherits="iVention.Web.Framework.Core.ViewUserControl<iVention.Web.Framework.Areas.Administration.Models.NoteModel>" %>
<% using (UI.koform(Model, null))
{ %>
[...]
<div class="dialogButtons">
<button onclick="$('#@Model.meta.modelname').koform('submit');">
Save</button>
</div>
<%}%>
Use
<%: %>