I am getting the error:
Script control '' is not a registered script control.
Script controls must be registered using RegisterScriptControl() before
calling RegisterScriptDescriptors().
Parameter name: scriptControl
with the following code:
The codebehind methods have their contents commented out, so really what you see here is what you get. When I remove the <asp:Panel tag, the error goes away. But I want the <asp:Panel tag. Anyone have any idea what might be going on?
Thanks!
Laurie
Script control '' is not a registered script control.
Script controls must be registered using RegisterScriptControl() before
calling RegisterScriptDescriptors().
Parameter name: scriptControl
with the following code:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Test_Default2" %>
<!DOCTYPE html>
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
></
title
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
EnablePageMethods
=
"true"
></
telerik:RadScriptManager
>
<
telerik:RadAjaxManager
runat
=
"server"
ID
=
"ramRoot"
Visible
=
"false"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"Timer1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"pMessage"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"pMessage"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"pMessage"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"btnClose"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"pMessage"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
asp:HiddenField
runat
=
"server"
ID
=
"hfMessageHidden"
Value
=
"0"
/>
<
asp:Timer
ID
=
"Timer1"
runat
=
"server"
Interval
=
"10000"
OnTick
=
"Timer1_Tick"
Enabled
=
"true"
></
asp:Timer
>
<
asp:Panel
runat
=
"server"
ID
=
"pMessage"
CssClass
=
"pageMessagePanel"
>
<
asp:LinkButton
runat
=
"server"
ID
=
"btnClose"
class
=
"close"
data-dismiss
=
"alert"
aria-hidden
=
"true"
Text
=
"x"
/>
<
asp:Label
runat
=
"server"
ID
=
"lMessage"
>
</
asp:Label
>
</
asp:Panel
>
<
div
>
<
p
>Hello</
p
>
</
div
>
</
form
>
The codebehind methods have their contents commented out, so really what you see here is what you get. When I remove the <asp:Panel tag, the error goes away. But I want the <asp:Panel tag. Anyone have any idea what might be going on?
Thanks!
Laurie