foreach(Member m in members.Where(x => x.HasProperty("userFirstName") && x.getProperty("userFirstName").Value.ToString() != String.Empty).OrderBy(x=>x.getProperty("userFirstName").Value.ToString())){ @m.Text or @m.getProperty("userFirstName").Value.ToString() }
Alphabetical list of members
Is there a way to alphabetically a list of members by name or last name (custom property) in razor?
Here's how I'm getting a list of all members.
Hi Amir,
Yes could do make the sorting like this
Fuji, thank you. This worked great!
Most Welcome Amir, glad you solve this. :)
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.