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.