Just so others don’t tear their hair out, it seems the xVal client side validation call Html.ClientSideValidation<TModel> converts (all?) non-A-Z characters to an underscore, I knew dots needed to be replaced for underscore, but it seems square brackets need this as well. So: <%= this.TextBox(“Supplier.SupplierAddresses[" + Model.CurrentRowIndex + "].Address.Postcode”).Value(Model.SupplierAddress.Address.Postcode).Class(“postcode”).MaxLength(4)%> <%= Html.ValidationMessage(“Supplier.SupplierAddresses[" + Model.CurrentRowIndex + "].Address.Postcode”)%> [...]
Pages
Blogroll
-
RSS Links
My Tweets
- #Beer tonight, huzzah. 6 hrs ago
- http://bit.ly/arb1M8 9 hrs ago
- OMFG.. this will be my NEW old favourite game!! http://store.steampowered.com/app/22600/ FRIGIN' AWESOME! #WormsReloaded 9 hrs ago
- I really want an iphone4 with @vodafone_au on the $49 cap #VFiphone4 http://bit.ly/freeVFiphone4 10 hrs ago
- Mr. Rage Quit Tee! http://bit.ly/9OFbW2 12 hrs ago
- Exactly my issue with my iPhone 3G. The new update slowed my device by about 4x http://bit.ly/c7Eu4e 1 day ago
- More updates...
Advertisment