Question

I've created a new feature for a specific list. This new feature will show a button in the EditToolBar of a list page when editing. After clicking that new button, it should take you to another page and display some data. I already added the xml files and also a .aspx files to the SharePoint folder and also installed the feature and activated it for that site.

Now, I can't get the current list and current item in my new aspx page by using SPContext.Current.List or SPContext.Current.Item. It gives an error.

Any ideas?

Was it helpful?

Solution

Pass through the List and Item IDs in the querystring?

The Context is lost in an application page I believe.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top