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

Forums / Bugs & Issues / 3.2 poll error in upgraded 3.1 project

3.2 poll error in upgraded 3.1 project

3 posts, 0 answered
  1. Vangelis
    Vangelis avatar
    153 posts
    Registered:
    07 Jan 2006
    07 Mar 2008
    Link to this post
    Hello,

    In an upgraded 3.1 project to new 3.2 I've tried to vote and I got the following error.

    Server Error in '/' Application.

    The control with ID 'answerChart' 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 'answerChart' 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 'answerChart' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.]
    Telerik.Web.SkinRegistrar.GetScriptManager(Control control) +178
    Telerik.Web.SkinRegistrar.RegisterCssReferences(ISkinnableControl control) +131
    Telerik.Web.UI.RadDataBoundControl.RegisterCssReferences() +49
    Telerik.Web.UI.RadChart.OnPreRender(EventArgs e) +36
    System.Web.UI.Control.PreRenderRecursiveInternal() +77
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360


    Version Information: Microsoft .NET Framework Version:2.0.50727.312; ASP.NET Version:2.0.50727.833

  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    08 Dec 2016
    10 Mar 2008
    Link to this post
    Hi Vagelis,

    Make sure you add a script manager in your .master page as shown below:

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

    For more information please refer to the User Manual -> Creating a Master Page.

    Sincerely yours,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Vangelis
    Vangelis avatar
    153 posts
    Registered:
    07 Jan 2006
    11 Mar 2008
    Link to this post
    Thanks Pepi for the reply. It corrected the error
Register for webinar
3 posts, 0 answered