+1-888-365-2779
Try Now
More in this section

Forums / Deployment / ScriptManager on page required

ScriptManager on page required

4 posts, 0 answered
  1. RL
    RL avatar
    2 posts
    Registered:
    06 Mar 2006
    25 Jun 2010
    Link to this post
    Hi

    I am trying to deploy a Sitefinity site as provided by another company (to us) to a development environment as we will be handling the design aspects of the site. Now I have read on other posts that it is just as straightforward as deploying a simple asp.net site. Assuming this to be the case, I have set it up on Win 2008 with IIS7 and set full permissions for Network Service account on site files.

    Created the site in IIS, changed web.config to point to restored db and then I get error below when the site starts up. Do I not have all the files, i.e., did the other company not zip the complete site as required for me to run it or is there another trick to get this site up and running? Any advice will be appreciated.

     

    Server Error in '/' Application.

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

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.InvalidOperationException: The control with ID 'RadPanelbar1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [InvalidOperationException: The control with ID 'RadPanelbar1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.]
       Telerik.Web.UI.ScriptRegistrar.GetScriptManager(Control control) +383
       Telerik.Web.UI.RadDataBoundControl.RegisterScriptControl() +73
       Telerik.Web.UI.RadDataBoundControl.ControlPreRender() +20
       Telerik.Web.UI.RadPanelBar.OnPreRender(EventArgs e) +46
       System.Web.UI.Control.PreRenderRecursiveInternal() +108
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394
    
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    25 Jun 2010
    Link to this post
    Hi RL,

    You should add ScriptManager control in your master page, inside the form tag.

    sample

    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" />



    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. RL
    RL avatar
    2 posts
    Registered:
    06 Mar 2006
    25 Jun 2010
    Link to this post
    Thanks for that.

    However, I am new to Sitefinity and this is a pre-built site which we are inheriting. I assume you are referring to the Main.Master file in the App_Master folder? If so, I already see below in the form tag.
     
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    25 Jun 2010
    Link to this post
    Hello RL,

    Ok, check the page where this control - RadPanelBar has been declared. Inside its page( if physical file) or master page there should be ScriptManager declared. The error says that there is no ScriptManager declared.

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
4 posts, 0 answered