I have created web part that uses the ListViewByQuery control which is linked to a Document Library. The documents are displayed and all is good.
However, when hovering over the document title to get the context menu (for versioning etc) a message box appears when clicked saying the document no longer exists.
Currently the code really is as simple as:
SPList list = web.Lists[new Guid("XXX")]; SPView view = list.Views[new Guid("XXX")]; SPQuery query = new SPQuery(list.Views[new Guid("XXX")]); query.ViewFields = fieldList; this.filteredList.List = list; this.filteredList.Query = query;
Any ideas? Pointers?