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

I'm trying to display download links for files attached to list items in my DVWP.

The below code was working fine until I switched to (by switching I mean, deleting and creating a new web part) Linked Source.

<xsl:element name="SharePoint:AttachmentsField">
    <xsl:attribute name="runat">server</xsl:attribute>
    <xsl:attribute name="FieldName">Attachments</xsl:attribute>
    <xsl:attribute name="Visible">true</xsl:attribute>
    <xsl:attribute name="ItemId"><xsl:value-of select="@ID"/></xsl:attribute>
</xsl:element>

Now the page gives me the following error:

Type 'Microsoft.SharePoint.WebControls.AttachmentsField' does not have a public property named 'xmlns:SharePoint'.

Every list in the Linked Data Source is almost identical.

Any suggestions?

share|improve this question
add comment

1 Answer 1

I believe this is the problem you are having based on your description: http://support.microsoft.com/kb/953271

What version number are you currently running?

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.