Hello All,
I set up a parent/child grid much like the Hierarchy demo. In my case I wanted to make both grids editable (inline). But I kept getting an invalid template error on my child grid as soon as I added the .Editable() section to it. After some investigation and commenting/uncommenting things on the child grid and my model I discovered that the error was related to my Required validator message on the model. My validation message was "The field '{0}' is required." It seems like the single quotes in the validation message aren't being escaped properly when the template is created or something like that because when I changed the validation message to "The field {0} is required." everything works fine. So I'm able to get around the issue, but I thought I'd let you know in case this is something that can be fixed in the core code. Thanks!
Regards,
Brian
I set up a parent/child grid much like the Hierarchy demo. In my case I wanted to make both grids editable (inline). But I kept getting an invalid template error on my child grid as soon as I added the .Editable() section to it. After some investigation and commenting/uncommenting things on the child grid and my model I discovered that the error was related to my Required validator message on the model. My validation message was "The field '{0}' is required." It seems like the single quotes in the validation message aren't being escaped properly when the template is created or something like that because when I changed the validation message to "The field {0} is required." everything works fine. So I'm able to get around the issue, but I thought I'd let you know in case this is something that can be fixed in the core code. Thanks!
Regards,
Brian