<xmod:NavigateUrl>

The NavigateUrl tag (new to version 4.6) allows you to call the DNN API function NavigateUrl(). This allows you to generate URLs that utilize the site's configured URL Provider and makes it easier to generate Friendly links.

Syntax

<xmod:NavigateUrl
    TabId="integer"
    ControlKey="string">

    <Parameter Name="string" Value="string" />
    ...
</xmod:MetaTags>

Remarks

Back to top

Example

<div>
  <table width="100%">
    <tr>
      <td width="250" valign="top">

        <!-- EMPLOYEES TEMPLATE -->

        <xmod:Template Id="Employees">
          <ListDatasource commandtext="SELECT * FROM XMPDemo_Employees" />

          <ItemTemplate>
            [[FirstName]] [[LastName]]<br />
            <a href="<xmod:NavigateUrl TabId="237"><Parameter Name="eid" Value='[[Id]]' /></xmod:NavigateUrl>">View Work History</a>
          </ItemTemplate>

        </xmod:Template>
      </td>
    </tr>
  </table>
</div>
Back to top