Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Passing SPList.NavigateForFormsPages property into XSL in XLV web part
/// <summary>
/// Partial implementation of XsltListViewWebPart.ModifyXsltArgumentList method
/// The remaining code is omitted for clarity here
/// </summary>
protected override void ModifyXsltArgumentList(ArgumentClassWrapper argList)
argList.AddParameter("NavigateForFormsPages", string.Empty, this.SPList.NavigateForFormsPages ? (object) BaseXsltListWebPart.XslOneString : (object) BaseXsltListWebPart.XslZeroString);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment