Server Error in '/' Application.

A ScriptManager is required on the page to use ASP.NET AJAX Script Components.

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: A ScriptManager is required on the page to use ASP.NET AJAX Script Components.

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: A ScriptManager is required on the page to use ASP.NET AJAX Script Components.]
   AjaxControlToolkit.ToolkitResourceManager.RegisterCssReferences(Control control) +566
   AjaxControlToolkit.TextBoxWatermarkExtender.OnLoad(EventArgs e) +48
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.AddedControl(Control control, Int32 index) +11726961
   System.Web.UI.WebControls.LoginView.CreateChildControls() +298
   System.Web.UI.Control.EnsureChildControls() +107
   System.Web.UI.Control.PreRenderRecursiveInternal() +58
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3671


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0