0
votes
1answer
107 views

Set view order with code in a listview using ListViewXml.OrderBy

So I have this line: lvwp.ListViewXml.OrderBy.. - after this I have no Idea what to write? I would like to assign something like: Combining like this: lvwp.ListViewXml.OrderBy<FieldRef ...
1
vote
1answer
626 views

Sort by modified date in custom search core results webpart

I have created a custom search results web part which implements some simple sorting, for example i have this piece of code which allows me to sort it desc/asc by title: CoreResultsDatasource ...