Sign up ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

How can we switch views of the list which is created on visual studio? SharePoint designer solution or code solution?

share|improve this question

1 Answer 1

If you have created a List Definition from visual studio you can open the Schema.xml and modify the views, this Msdn documentation shows you how:

It is also possible modify views directly in the GUI :

If you are talking about showing a control for changing views in the GUI you should get that control OOTB when you add a list view web part, otherwise look in to the list view selector control:

share|improve this answer

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.