Custom user control with Ajax Control Toolkit RRS feed

  • Question

  • User-460438974 posted

    Not sure this is the right forum, but I have a custom control that is throwing a javascript error on load.

    The error is InvalidStateError

    and it occurs when _setProperties tries to access properties[name] (where name is 'selectionEnd' and properties are those of a hidden input box).

    This all occurs inside the MicrosoftAjax.debug.js file and is only noticable while debugging in Visual Studio.

    I don't get why it is trying to get to the 'selectionEnd' property for an object that can't have a selection.

     I think something has changed over time, and I am trying to update our control to use the latest AjaxControlToolkit, as we have need of the latest version for other parts of the project.

    I could use some helpful ideas or hints on where to look, or what might cause it to incorrectly set properties that don't exist.


    Monday, January 13, 2014 6:53 PM