June 18, 2012If you're getting an error saying that the asp:LinqDataSource is unknown, you most likely is missing the declaration in your web.config file. To fix this:
- Open your web.config file and locate the <controls> block.
- Add the following element: <add assembly="System.Web.Extensions, Version=18.104.22.168, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.UI.WebControls" tagprefix="asp"> into the <controls> block.
- Reload the page and see it working :)