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
- Just Bloged: "Automatically Infer MVC Validation Rules Based on LINQ to SQL Schema – Sweet!" http://bit.ly/ckZJPp 1 week ago
- RT @SaschaV: RT @oldspice Hello Australia. Look at ur Parliament, now back at me. Sadly, it isn't me, but it is hung like me. #ausvot ... 1 week ago
- John Carmack and @idsoftware : "Unleashes Impressive Rage on the iPhone" http://bit.ly/ctieKi 2 weeks ago
- I think it's unacceptable Visual Studio does not allow you to evaluate lambda expressions in the immediate window. 3 weeks ago
- NOOOOOOOOOooo I Pressed F1!! I'm sorry Visual Studio!! I'm sorrrrrrrrry!! Please! Take me back!! ..Damn. 3 weeks ago
- "Unfortunately it's a sadder reality.." 1925's vision of 1950's America [PIC]: http://digg.com/d31WsBs?t 2010-08-06
- More updates...
Advertisment