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

v2013.1.220.45: Script control X is not a registered script control

1 Answer 49 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 05 Mar 2013, 03:42 AM
Our code works fine with v2012.3.1205 and v2012.3.1308, however after upgrading to v2013.1.220.45 we get the following error:

0x800a139e - Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Script control 'rcbBudgetCategory' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().

We can remove our control "rcbBudgetCategory" and then the error simply jumps to the next Rad Control on the page. This occurs inside of a User Control inside a RadGrid:

<EditFormSettings UserControlName="~/Controls/UnitAdmin.ascx" EditFormType="WebUserControl">

... the nested User Control has RadControls which post-back. These controls are inside tables, which are inside Panels which are registered in the RadAjaxManager:

<AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="rcbBudgetCategory">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="pnlReplaceOptions" />
                <telerik:AjaxUpdatedControl ControlID="rblReplacement" />
                <telerik:AjaxUpdatedControl ControlID="pnlReplace" LoadingPanelID="ralpLoading" />
            </UpdatedControls>
        </telerik:AjaxSetting
...

<asp:Panel runat="server" ID="pnlReplace">
    <table>
        <tr>
            <td class="bold">Budget Category:</td>
            <td>
                <telerik:RadComboBox runat="server" ID="rcbBudgetCategory" DataSourceID="BudgetCategoryDataSource" DataTextField="BudgetCategory1" DataValueField="BudgetCategoryID" Width="250" AppendDataBoundItems="true" AutoPostBack="True" OnSelectedIndexChanged="rcbBudgetCategory_SelectedIndexChanged">
                    <Items>
                        <telerik:RadComboBoxItem Text="" Value="" />
                    </Items>
                </telerik:RadComboBox>

Some table rows (TR's) are runat="server" and can be shown/hidden... we even made the tables runat=server in case this was the problem, but it wasn't. Also, the error still occurred when we tried commenting-out all the code which changed the visibility of controls in the code-behind.

Therefore we believe v2013.1.220.45 has a bug.

1 Answer, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 07 Mar 2013, 04:26 PM
Hi Peter,

It's quite strange that you experience such issue with the latest version of our controls, since we haven't encountered such problem till now. Could you open a support ticket and provide a runnable sample so we could inspect the problem locally.

Kind regards,
Dimitar Terziev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
ScriptManager and StyleSheetManager
Asked by
Peter
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or