Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
55
Script Manager Object?
posted

 I've just added a web grid into my page and am getting this error. Any idea what the cause is? help much appreciated!

Server Error in '/' Application.

This Infragistics control requires a ScriptManager object on the page in order to operate correctly.

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: This Infragistics control requires a ScriptManager object on the page in order to operate correctly.

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: This Infragistics control requires a ScriptManager object on the page in order to operate correctly.]
   Infragistics.Web.UI.Framework.Data.FlatDataBoundControl.OnPreRender(EventArgs e) +1164
   Infragistics.Web.UI.GridControls.WebDataGrid.OnPreRender(EventArgs e) +13
   System.Web.UI.Control.PreRenderRecursiveInternal() +80
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842

  • 5
    Suggested Answer
    posted

    hai nsaadat,

                           just by adding the script manager (which is an ajax control) can solve this problem.I tried and got the controls without error on the browser.

     

    Thanks and regards,

    A.Mohan kumar MCA

  • 5739
    posted

    Hi,

    One of the controls on your page requires a script manager.  It's an asp control which you can drop onto your page from the toolbox under ajax controls.  Looking at the trace, you can see that it's the WebDataGrid which requires the script manager.  You're actually in the wrong forum for that.  This one is for the old UltraWebGrid.

    Ed