Is there a way to get just the selected items of a document library from the server side? I was looking for something like this:
SPDocumentLibrary docLib = web.Lists[list.Title] as SPDocumentLibrary;
SPListItemCollection items = docLib.Items;
foreach (SPListItem item in items){
//if (item.Selected)
}