Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Using SharePoint Designer 2010 I created a Linked Data Source that merges two lists. Then I inserted a Data View and select the linked data source I created. The problem is that I want the Title to be a link to display the selected item, but when I insert the LinkTitle field it does not include a link, just the Title text.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Solved this by using one of these links with the title.

Link to view item in popup window

<a href="javascript:OpenPopUpPage('{@FileDirRef}/DispForm.aspx?ID={@ID}');"><xsl:value-of select="@Title"/></a>

View item without popup. The GoToLink adds "source" to URL so it will return to the site with the link.

<a href="{@FileDirRef}/DispForm.aspx?ID={@ID}" ONCLICK="GoToLink(this);return false;"><xsl:value-of select="@Title" /></a>
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.