If you get this error, make sure add reference to System.Web.Extensions assembly. If it does referenced, remove it and re-add.

Advertisements