Setting up WebForms ASP.NET tags

About this task

To use WebForms with .NET 1.1 SP1, you must register WebForms tags in each Web page by modifying the Page Template. Refer to the documentation portal for details.

To use WebForms with .NET 2.0 or higher, register a server control in the web.config file of your Web application, if server controls have been enabled for the SDL Tridion suite. After you have registered the server control, you can then use the tags using the twf: prefix. This topic explains how.

Procedure

  1. On your Presentation Server, navigate to the web.config file in the %TRIDION_HOME% directory.
  2. In this file, find the element called <controls> and inside it, the following fragment:
    <add tagPrefix="tridion" namespace="Tridion.ContentDelivery.WebControls"
      assembly="Tridion.ContentDelivery.WebControls" />

    If you do not see this element, create a <controls> element.

  3. Now add the following fragment inside the <controls> element:
    <add tagPrefix="twf" namespace="Tridion.WebForms.WebControls.Multi"
    assembly="Tridion.WebForms" />
  4. Save and close web.config.
    Stop and restart the WebForms Web application.