Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rick Mather 42 posts 124 karma points
    Nov 04, 2010 @ 12:15
    Rick Mather
    0

    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

    Nov 05, 2010 @ 09:22

    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

Please Sign in or register to post replies

Write your reply to:

Draft