Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > The control with ID 'RadScheduler1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it. View modes: 
User avatar
Member
Member
jasonreber-gmail - 4/3/2009 10:39:39 PM
   
The control with ID 'RadScheduler1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.
Hi all,

I need to use the Telerik Scheduler (AJAX) component in my application, so I created a user control and a page to hold my user control.

I dragged the Telerik scheduler component from the tool box to the page, and when I run the application and view that page, I see the error:

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

So, I added a ScriptManager to the top of my user control, then when I run it I got the exact same message.

I then removed the Telerik Scheduler control, leaving only the Script Manager, and when I ran the project it told me:

"Error loading user control: Only one instance of a ScriptManager can be added to the page." !

When adding the Scheduler to a blank project, it works perfectly. But when I try and run it within the Kentico framework it bombs.

What am I doing wrong?

Jason

User avatar
Member
Member
zhaojicheng-artmtech - 4/4/2009 12:43:59 AM
   
RE:The control with ID 'RadScheduler1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.
the ScriptManager controls already exists in the PortalTemplate.aspx
<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>
<cms:CMSPagePlaceholder ID="plcRoot" runat="server" />
<asp:PlaceHolder runat="server" ID="plcLogs">
<cms:QueryLog ID="logQuery" runat="server" />
<cms:ViewState ID="viewState" runat="server" />
</asp:PlaceHolder>
</form>

User avatar
Member
Member
jasonreber-gmail - 4/4/2009 3:14:57 PM
   
RE:The control with ID 'RadScheduler1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.
When I add the Telerik control, I get a message that reads:

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

How can I add the control to the page and get it to work?

Jason

User avatar
Member
Member
zhaojicheng-artmtech - 4/5/2009 6:22:24 AM
   
RE:The control with ID 'RadScheduler1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.
hi Jason
Can you post your code on the forum.I need more information.

User avatar
Member
Member
jasonreber-gmail - 4/5/2009 3:13:59 PM
   
RE:The control with ID 'RadScheduler1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.
I added the RadScriptManager to the page, then removed it, and now the RadScheduler works. Very bizarre, but it's running now, thanks!