Skip to content

Instantly share code, notes, and snippets.

@ps-team
Created October 27, 2017 10:03
Show Gist options
  • Save ps-team/6def26a21ae915819e8b82d2b7836ce0 to your computer and use it in GitHub Desktop.
Save ps-team/6def26a21ae915819e8b82d2b7836ce0 to your computer and use it in GitHub Desktop.
Filter a listing control to the current top folder
[ControlID].DataFilters.Add(New DataFilterExpression("Property_TopFolderId", CMS_API.Data.DataFilterFunction.EqualTo, Property_TopFolderId))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment