Domanda

Is there a event which is raised when current view of a SharePoint list is changed. For example the current view displays all items in the list and now the user selects a different view say Added by Me, so is there any event raised in such a condition.

Any help would be great.

Thanks

È stato utile?

Soluzione

As far as I know there is no such event. The list events ListUpdating, ListUpdated etc. fire when you write changes to the list to the content db.

The following webpage shows you how to create a custom view that filters the information based on the current user:

http://sharepointchick.com/archive/2009/07/16/creating-a-custom-view-that-filters-on-the-current-user.aspx

Creating a view with a custom CAML query filter might solve the problem.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top