views:

23

answers:

2

Im trying to access ValidationMessage through jquery. I have <%: Html.TextBox("vcr_LinkAddress",null, new { maxlength = 255 })%> <%: Html.ValidationMessage("vcr_LinkAddress")%> and i want to validate textbox and if it is empty ill print a message in ValidationMessage

A: 

so you want to integrate client-side validation (with jQuery validation) with your existing server-side validation?

if your server-side validation is using the IRulesProvider Interface i suggest that you look into xVal http://xval.codeplex.com/

marc.d