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
- Hi Guys @StayOfTheDay is launching with a ton of new regions in the next week and vouchers now $25 from $29! See http://t.co/PfVLlSkz Thnx:) 44 mins ago
- Any Farseer/Box2d gurus able to help? :D "Create indefinitely oscillating pendulum in Farseer Physics 3.3.1/Box2d" http://t.co/L6ovP5Mi 2012-04-15
- Hey guys, seriously get into Tribes Ascend now it's gone Open Beta, fast paced DECENT FPS.Absolutely sweet! See trailer http://t.co/tu8IMs2a 2012-03-29
- I just went 15694 Km high playing Cosmic Jumper by @MagikoGaming on my Windows Phone. Check it out at http://t.co/ZftjDE6t 2012-03-27
- Looking for some discount accommodation? check out my new start-up I developed with a few business partners, http://t.co/PfVLlSkz Thanks :D 2012-03-07
- Looking for some discount accommodation? check out my new start-up I developed with a few business partners, http://t.co/eQcx4DWa All you … 2012-03-06
- More updates...
Advertisment