DataView webpart - Creating Title Hyperlink and returning back to dataview

To create a hyperlink on a field, and also have it redirect to the page you hyperlinked from, use this format:

<td>
    <a href=http://northwindtraders/Lists/Products/EditForm.aspx?ID={@ID} onclick="GoToLink(this);return false;" target="_self">
        <xsl:value-of select="@Product_x0020_Name" />
    </a>
</td>

Comments

Popular posts from this blog

SharePoint Designer 2013 Approval Workflow with Comments

Change SharePoint server hostname and Web Application Names

SharePoint Search - Content Processing Pipeline Failed to Process the Item