Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
190
WebTextEditor Error
posted

I am getting the following error on my page.

Script control 'WebTextEditor1' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptControl

 

What I did was to copy the code from a .aspx page that is working to a different page.. I needed the same grid and everything so I just copied it. I know, that was probably the mistake...

I have gone as far as to remove the WebTextEditior, My WebScriptManager, and several other things and replaced them with new objects using the normal drag and drop but as soon as I put a WebTextEditior in, Same error.

Any ideas?

 

  • 15979
    posted

    Hello mnmjones,

    Please let me know if you need further assistance with your question.

  • 15979
    posted

    Hello mnmjones,

    There are several possible reasons that can lead to this error:

    -          It may be missed declaration of the controls in ScriptManager on the page – script controls should be registered in the ScriptManager before you can use them.

    -          You may be trying to add the manager in some event or in another part of the code that is not designed to contain that type of control.

    -          Or this error can be caused of improper usage of AJAX in some of controls

    It is relay hard to tell exact reason for this behavior without your source code or working example.

    You can try to check this behavior by creating a new empty page add “ScriptManager” to it and start adding all of your controls to the page until the error popups again.

    You can check for the build versions of the controls that you are adding too.

    Let me know if you cannot resolve your issue or have any further questions.