Last post Jan 14, 2014 09:06 PM by Happy Chen - MSFT
Jan 13, 2014 06:53 PM|gcomputer.net|LINK
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.
Jan 14, 2014 09:06 PM|Happy Chen - MSFT|LINK
According to your description, here's some links that should help you with building custom server controls using ASP.NET AJAX:
Building ASP.NET AJAX Controls (Pt 6 - Moving things to the server)
ASP.NET AJAX: Create AJAX Server Controls using the ScriptControl base class
ASP.NET 3.5: Create AJAX Extender Controls using the ExtenderControl base class
Adding Ajax Functionality to ASP.NET Controls
Developing Custom ASP.NET AJAX Client Controls
[How Do I:] Build a Custom ASP.NET AJAX Server Control?
Hope they can help you.