Using the ListView with VS.NET Orcas Beta1

If you have tried the new grid control (ListView) in Visual Studio .NET Orcas Beta1, you may have noticed that the control has to be registered within the page.  To get around this, I had to do two things:
  • Register the System.Web.Extensions assembly with the project.  Apparently, this assembly is not registered with the projects by default.
  • Add the <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> entry to the pages -> controls section of the web.config file.  Once I did these two items, I got my intellisense and I didn't have to worry with the registration commands on every page.

No Comments