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:
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:
... the nested User Control has RadControls which post-back. These controls are inside tables, which are inside Panels which are registered in the RadAjaxManager:
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.
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.