I'm attempting to use a foreign key column and I sometimes get an unterminated string error while loading the page. I determined that this is due to having a single quote in the data (not uncommon for users to do that).
This is easy to duplicate using the MVC Example project by simply changing an Employee name in the Northwind database to contain a single quote. The Grid Foreign Key demo will show the error. (BTW, Firefox doesn't really indicate the error, it just stops. IE blows up.)
Encoding the string doesn't help. The resulting data simply shows the ' value in the output.
Anyone else have a similar problem?
This is easy to duplicate using the MVC Example project by simply changing an Employee name in the Northwind database to contain a single quote. The Grid Foreign Key demo will show the error. (BTW, Firefox doesn't really indicate the error, it just stops. IE blows up.)
Encoding the string doesn't help. The resulting data simply shows the ' value in the output.
Anyone else have a similar problem?