I've just added a web grid into my page and am getting this error. Any idea what the cause is? help much appreciated!
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.
[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
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
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