Quantcast
Channel: xval Discussions Rss Feed
Viewing all articles
Browse latest Browse all 21

New Post: StringLength validation minimum length not working on client side.

$
0
0
Galawyn wrote:

I have same problem, DataAnnotation + xVal + JQuery

[StringLength(100, MinimumLength = 10)]

[Required]

public virtual String Test { get; set; }

 I do have this problem but only on IE 8. On Opera 9, Firefox 3.6, Safari 4 and Chrome 4.

Btw, having the default example crashes IE 8 / Win 7 (64 bit), latest patches (OS + browser).

 

It's the BookingsDemo, you know it very well Steve. I just added a [StringLength(5)] on DomainModel.Entities.Booking's Name property.


Viewing all articles
Browse latest Browse all 21

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>