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

2 posts, 0 answers
  1. Peter
    Peter avatar
    98 posts
    Member since:
    Mar 2012

    Posted 04 Mar 2013 Link to this post

    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:

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

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

    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.

  2. Dimitar Terziev
    Dimitar Terziev avatar
    1268 posts

    Posted 07 Mar 2013 Link to this post

    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.
Back to Top