Sharepoint 2010 如何在sharepoint自定义Web部件的新窗口中打开附件?
我已在自定义Web部件中启用附件,如下所示:Sharepoint 2010 如何在sharepoint自定义Web部件的新窗口中打开附件?,sharepoint-2010,Sharepoint 2010,我已在自定义Web部件中启用附件,如下所示: <xsl:element name="SharePoint:AttachmentsField"> <xsl:attribute name="runat">server</xsl:attribute> <xsl:attribute name="ListId"> {} </xsl:attribute> <xsl:attribut
<xsl:element name="SharePoint:AttachmentsField">
<xsl:attribute name="runat">server</xsl:attribute>
<xsl:attribute name="ListId">
{} </xsl:attribute>
<xsl:attribute name="FieldName">Attachments</xsl:attribute>
<xsl:attribute name="ControlMode">Display</xsl:attribute>
<xsl:attribute name="Visible">true</xsl:attribute>
<xsl:attribute name="ItemId">
<xsl:value-of select="@ID"/>
</xsl:attribute>
如何添加target=blank?这是html输出。如您所见,我尝试添加target=blank,但仍然在同一windoew上打开。感谢您,我已经通过使用jquery解决了这个问题,并删除了onclick事件。干杯