'UpdatePanel' does not exist in the namespace 'System.Web.UI
To solve this error make sure you have System.Web.Extensions
in your web.config under <assemblies>
tag:
<add assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Then in my case I solve it by clearing the solution then rebuild it, as the following steps:
1- Right click on the solution in visual studio then Clean Solution
.
2- Again Right click on the solution and Rebuild Solution
or Ctrl + Shift + B