SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to create a SPView for my list that points to a complete custom aspx page. And I need to do that through c# code. Even if I could just override the AllItems.aspx in a Visual Project Project, that would be fine. (on a preexisting SPList)

Is that possible?


share|improve this question

A quick way would be to create a new view and then add some javascript to the page, via a CEWP, to redirect the user to your custom page.

share|improve this answer
I guess that's what you have to learn with Sharepoint. Very often there just isn't a solution, only workarounds :( – Sam7 Apr 16 '13 at 15:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.