Hi, if I create a list of items (dropdownlist, checkboxlist etc), and then add an item containing '(', ')', or '&' I can no longer edit that list.
For example, create a dropdownlist and add an item with '(' in it. Click 'update' and then try clicking on 'Edit Items' again. You can no longer edit and instead get a Javascript error, e.g.:
Also, if the list is being populated from a prevalue datasource it appears that I can no longer save the form either - I get a "Failed to save form" message.
Javascript errors when editing lists
Hi, if I create a list of items (dropdownlist, checkboxlist etc), and then add an item containing '(', ')', or '&' I can no longer edit that list.
For example, create a dropdownlist and add an item with '(' in it. Click 'update' and then try clicking on 'Edit Items' again. You can no longer edit and instead get a Javascript error, e.g.:
'Uncaught Syntax error, unrecognized expression: ('
Also, if the list is being populated from a prevalue datasource it appears that I can no longer save the form either - I get a "Failed to save form" message.
Comment author was deleted
Hi Rick,
Yes it's the inline editing js that can't deal with those characters, we'll look into improving this in the next maintenance release
For your second error, simply update the maxJsonLength value in the web.config (increase it).
Cheers,
Tim
is working on a reply...