Last active
September 11, 2018 09:26
-
-
Save PiotrFerenc/79269877935fa343bcd9e20a34fd3622 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:template name="test"> | |
<xsl:param name="Pos" select="position()"/> | |
<h1>test</h1> | |
<SharePoint:FormField runat="server" id="testfield1{$Pos}" ControlMode="Edit" FieldName="Title" __designer:bind="{ddwrt:DataBind('u',concat('testfield',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Title')}"/> | |
</xsl:template> | |
<xsl:template name="test2"> | |
<xsl:param name="Pos" select="position()"/> | |
<h1>test</h1> | |
<SharePoint:FormField runat="server" id="testfield2{$Pos}" ControlMode="Display" FieldName="Title" __designer:bind="{ddwrt:DataBind('u',concat('testfield',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Title')}"/> | |
</xsl:template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment