The Problem
Visual Studio requires a ScriptManager to compile a Ajax enabled solution for a SharePoint web part.
Visual Studio Error on compile says:
Solution.cs: (Build Error) |
Error 1 The type or namespace name ‘ScriptManager’ could not be found (are you missing a using directive or an assembly reference?) C:\…\Solution.cs |
The Solution:
A Reference dll is missing in your solution. You need to add a reference to System.Web.Extentions.