Follow these steps to extend Visual Studio's .aspx/.ascx file Intellisense to include ComponentArt.Web.UI control tags:
Download ComponentArt.Web.UI ASPX Intellisense Schema file from: http://www.componentart.com/download/ComponentArt.Web.UI.xsd.zip
Uncompress the .xsd file and place it in the following folder: (Visual Studio installation folder)\Common7\Packages\schemas\xml, overwriting any previous ComponentArt.Web.UI Intellisense files that may already be there.
Restart Visual Studio for the changes to take effect.
Open the .aspx (or .ascx) file containing a reference to ComponentArt.Web.UI. The file will contain a @Register directive such as: <%@ Register Assembly="ComponentArt.Web.UI" Namespace="ComponentArt.Web.UI" TagPrefix="ComponentArt" %>
In Visual Studio 2002 and 2003 (version 7.x) add the following attribute to the body tag:
<body xmlns:ComponentArt="http://schemas.componentart.com/intellisense/webui">
where the second part of the attribute name xmlns:ComponentArt must match the TagPrefix specified in the @Register directive.
In Visual Studio 2005 (version 8.x) add the following directive to the body tag:
<body xmlns="http://schemas.componentart.com/intellisense/webui/">
It is not necessary to use the body tag. Intellisense can instead be enabled locally by placing the attribute on another HTML tag such as a span or a div. Intellisense then applies to all the content within this tag. In fact since .ascx files do not contain a body tag, Intellisense for them has to be enabled locally in this fashion.
About Steve Gray
Steve is a seasoned (translate: old) developer in VB and ASP.NET. He spends most of his time in Dynamics GP, writing custom mods for consulting firms. Crystal reports, eConnect, VS Tools for Dynamics... anything that comes along.