Bug reports
Version 3.x > Bug reports > The control with ID 'pnlLayoutContent' requires a ScriptManager on the page View modes: 
User avatar
Member
Member
lalves - 3/3/2009 8:16:12 AM
   
The control with ID 'pnlLayoutContent' requires a ScriptManager on the page
Hi,
I change my web site to another machine, and every time I try get inside Tab Design in CMS I get this error:
The control with ID 'pnlLayoutContent' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

In the old machine everything works fine, this only happen in my new machine.
I get a copy of the web site from old machine by Source safe.
Everything works correctly, except the tab Design.

OS XP professional,
Framework 2.0
CMS 3.1a
Portal development

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/12/2009 6:32:23 AM
   
RE:The control with ID 'pnlLayoutContent' requires a ScriptManager on the page
Hi,

Could you please check this file in your project folder: CMSPages\PortalTemlate.aspx?

there should be code like this:

<body class="<%=BodyClass%>" <%=BodyParameters%>>
<form id="form1" runat="server">
<asp:PlaceHolder runat="server" ID="plcManagers">
<cms:CMSPortalManager ID="manPortal" runat="server" />
<asp:ScriptManager ID="manScript" runat="server" ScriptMode="Release" />
</asp:PlaceHolder>

If it is present, could you please check if AJAX is installed on the new machine?

Best Regards,
Juraj Ondrus

User avatar
Member
Member
lalves - 3/31/2009 6:35:35 AM
   
RE:The control with ID 'pnlLayoutContent' requires a ScriptManager on the page
Hi Juraj Ondrus,

Still having the same problem...

CMS version : 3.1a Build : 3.1.3145
OS version : Microsoft Windows NT 5.1.2600 Service Pack 3

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 4/1/2009 8:33:29 AM
   
RE:The control with ID 'pnlLayoutContent' requires a ScriptManager on the page
Hi,

Could you please check which version of AJAX is installed on your machine?
What is the version of AJAX in your web.config file? I mean something like this:
<add tagPrefix="ajaxToolkit" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />.

If you are using AJAX 3.5 on the machine, you need to also update the web.config file and DLLs.

Best Regards,
Juraj Ondrus

User avatar
Member
Member
jasonreber-gmail - 4/3/2009 10:50:47 PM
   
RE:The control with ID 'pnlLayoutContent' requires a ScriptManager on the page
Hi Juraj, I'm getting the same error:

"The control with ID 'RadScheduler1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it."

On my ascx I have the code:

<asp:ScriptManager ID="myScriptManager" runat="server" ScriptMode="Release" />

and this appears well before the control.

What do I need to do to get this working?

Thanks

Jason

User avatar
Member
Member
jasonreber-gmail - 4/3/2009 10:52:29 PM
   
RE:The control with ID 'pnlLayoutContent' requires a ScriptManager on the page
This is the scheduler control from the Telerik AJAX/ASP.net control suite, and the version of the AjaxToolKit according to my web.config is 3.5:

<add tagPrefix="ajaxToolkit" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 4/6/2009 4:02:50 AM
   
RE:The control with ID 'pnlLayoutContent' requires a ScriptManager on the page
Hi,

Could you please check the version of AJAX that is installed on the machine if it matched the version of AJAX used in the control?

Best Regards,
Juraj Ondrus