This is a migrated thread and some comments may be shown as answers.

Script Control 'xyzMenuControl' is not a registered script control

4 Answers 135 Views
Menu
This is a migrated thread and some comments may be shown as answers.
chirag
Top achievements
Rank 1
chirag asked on 17 Jun 2008, 06:17 PM
Hi,

I have been using Menu ASP .NET RadControl from RadMenu.Net2.dll.
That worked fine.

Now, I'm trying to update this control with latest ASP .NET AJAX RadMenu control from Telerik.Web.UI.dll.

The requirements and exceptions came up to me as it will require ScriptManager before RadControl is used in the code and ScriptManager in turn requires Form Tag with RunAt server.

I have done that which lands me with this kind of exception.
System.ArgumentException: Script control 'xnaMenu' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptControl


Anybody has faced this similar problem? I do see similar exception reported on RadDock control and Telerik team provided another new dll as temporary solution. So, what was changed in the DLL? I would like to know if I can overcome same thing in my code, or I need new temporary DLL from telerik :)

Thanks,
Chirag

4 Answers, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 18 Jun 2008, 03:19 PM
Hi Chirag,

I'm afraid I'm missing a point here.

Basically the error you described happens when the RegisterScriptControl method of an IScriptControl has not been called. Can you please, give us some more directions about the project/page setup (e.g. control structure, RadMenu location, etc.).

A simple project/website, demonstrating the problem would help us identify the problem quicker. If you can prepare one, please, open a formal support ticket to be able to attach it.

Kind regards,
Erjan Gavalji
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
chirag
Top achievements
Rank 1
answered on 21 Jun 2008, 03:47 PM
Hey,

I had problem in my code itself. So, I fixed it. The control was not in control hierarchy and so the prerender was not getting executed.

Thanks,
Chirag
0
umar okeeffe
Top achievements
Rank 1
answered on 24 Feb 2011, 06:44 PM
I have this error as well. It is occurring only when I deploy to my production server. I cannot debug on the production. It otherwise works in my test environment which is really frustrating. What do you mean its not part of the control hierarchy. For me this error occurs on a partial page postback.

Edit: these are sharepoint servers
0
Helen
Telerik team
answered on 01 Mar 2011, 04:20 PM
Hi,

Probably you will find helpful the following forum post:

http://www.aspplayground.net/forum/Script-control-39RM139-is-not-a-registered-script-control-m402006.aspx

Regards,
Helen
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Menu
Asked by
chirag
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
chirag
Top achievements
Rank 1
umar okeeffe
Top achievements
Rank 1
Helen
Telerik team
Share this question
or