Hello,
is there any way to display a Validation-Message Bubble like in a grid Editor in a TextBox?
I.e. I have this code:
Model:
public
class
Promotion
{
[StringLength(10]
[RegularExpression(
"^\\$?[A-Z0-9]+$"
)]
[Required()]
public
String Code {
get
;
set
; }
....
}
View:
@
using
(Html.BeginForm())
{
<div>
@(Html.LabelFor(model => model.Promotion.Code))
@(Html.Kendo().TextBoxFor(model => model.Promotion.Code))
</div>
}
If, for example, I leave it empty or enter lowercase letters into this TextBox, I would like it to show a Validation-Error-Bubble just like in a Grid Editor.
Thank you