This project is read-only.

xVal and HtmlFluent

Mar 10, 2010 at 4:30 PM

It seems that xVal doesn't work with HtmlFluent. When I try to use HtmlFluent to generate a TextBox : this.TextBox("fieldName"), the TextBox with invalid data won't change color. If I change it back to Html.TextBox("fieldName"), it works well. I compared the html generated with this.TextBox and Html.TextBox, and they looked same.  I guess that question is: how does "input-validation-error" class is generated when Html.TextBox is called?

Thanks in advance!