|
@model CoreApplication1.Controllers.CBaseViewModel
<div>
<ej-spell-check id="SpellCheck" controls-to-validate="textarea" is-responsive="true">
<e-dictionary-settings custom-dictionary-url="http://js.syncfusion.com/ejServices/api/SpellCheck/AddToDictionary" dictionary-url="http://js.syncfusion.com/ejServices/api/SpellCheck/CheckWords">
</e-dictionary-settings>
</ej-spell-check>
</div>
<script type="text/javascript">
function checkErrors() {
var spellObj = $("#SpellCheck").data("ejSpellCheck");
spellObj.showInDialog();
}
</script>
<h1>Comment Base</h1>
<div class="container">
<form asp-controller="App" asp-action="Comments" method="post">
<table class="table table-sm table-bordered">
<tbody style="font-size: 14px;">
<tr>
<td>
<textarea asp-for="C01">@Model.C01</textarea>
</td>
<td>
<textarea asp-for="C02">@Model.C02</textarea>
</td>
<td>
<textarea asp-for="C03">@Model.C03</textarea>
</td>
</tr>
</tbody>
</table>
<ej-button id="CheckButton" width="200px" height="25px" text="Spell check" type="Button" click="checkErrors" />
<button type="submit" class="btn btn-info">Save Changes</button>
</form> |