Is it possible to validate RadTextBox with Kendo UI Validation?
My code looks like this:
<script type="text/javascript">
$(document).ready(function () {
$("#contact").kendoWindow({
actions: ["Maximize", "Minimize", "Close"],
title: "Contact...",
visible: false
}).data("kendoWindow");
$("#contact").kendoWindow('open');
$("#contact").kendoValidator();
</script>
...
<div id="contact">
<table>
<tr>
<td>Name :</td>
<td>
<telerik:RadTextBox ID="tbFullName" runat="server" CssClass="k-textbox" EmptyMessage="Please enter your name" ClientIDMode="Static"></telerik:RadTextBox></td>
<td><span class="k-invalid-msg" data-for="tbFullName"></span></td>
</tr>
</table>
</div>
For testing purposes, I tried kendoWindow() so that I can be sure that all links are ok and Kendo Window worked perfekt.
But unfortunately Kendo Validation didn't works for me with RadTextBox. If I use <input> tags intead of RadTextBox
everything works fine.
I hope that someone can help me. Thanks in advance.
My code looks like this:
<script type="text/javascript">
$(document).ready(function () {
$("#contact").kendoWindow({
actions: ["Maximize", "Minimize", "Close"],
title: "Contact...",
visible: false
}).data("kendoWindow");
$("#contact").kendoWindow('open');
$("#contact").kendoValidator();
</script>
...
<div id="contact">
<table>
<tr>
<td>Name :</td>
<td>
<telerik:RadTextBox ID="tbFullName" runat="server" CssClass="k-textbox" EmptyMessage="Please enter your name" ClientIDMode="Static"></telerik:RadTextBox></td>
<td><span class="k-invalid-msg" data-for="tbFullName"></span></td>
</tr>
</table>
</div>
For testing purposes, I tried kendoWindow() so that I can be sure that all links are ok and Kendo Window worked perfekt.
But unfortunately Kendo Validation didn't works for me with RadTextBox. If I use <input> tags intead of RadTextBox
everything works fine.
I hope that someone can help me. Thanks in advance.