Hi All,
I have a textbox inside template, which I want t display on Kendo Popup. Everything is working fine except Validation
here is Template code:
<script type="text/x-kendo-template" id="popup-template">
<div>
@Html.TextBoxFor(m => m.Address)
</div>
</script>
here is html render for Textbox :
<input class="k-textbox" data-val="true" data-val-length="Address must have a length between 1 and 200 characters." data-val-length-max="200" data-val-length-min="1" data-val-regex="Address must only contain alpha-numeric characters." data-val-regex-pattern="^[A-Za-z\d]*$" id="Address" name="Address" placeholder="Type Address" type="text" value="">
Any specific reason why validation is not working here. please correct me if I am doing anything wrong.
Thanks-
I have a textbox inside template, which I want t display on Kendo Popup. Everything is working fine except Validation
here is Template code:
<script type="text/x-kendo-template" id="popup-template">
<div>
@Html.TextBoxFor(m => m.Address)
</div>
</script>
here is html render for Textbox :
<input class="k-textbox" data-val="true" data-val-length="Address must have a length between 1 and 200 characters." data-val-length-max="200" data-val-length-min="1" data-val-regex="Address must only contain alpha-numeric characters." data-val-regex-pattern="^[A-Za-z\d]*$" id="Address" name="Address" placeholder="Type Address" type="text" value="">
Any specific reason why validation is not working here. please correct me if I am doing anything wrong.
Thanks-