Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
how can i sort the foreach loop below?
foreach (var page in CurrentPage.Children.Where("Visible")){ }
Hi wschwarte,
You can do it like this with this you are sort by create date of the page.
foreach (var page in CurrentPage.Children.Where("Visible").OrderBy("CreateDate desc")){ }
Hope this helps,
/Dennis
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Sorting CurrentPage.children foreach?
how can i sort the foreach loop below?
Hi wschwarte,
You can do it like this with this you are sort by create date of the page.
Hope this helps,
/Dennis
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.