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 am on this since 6am this morning. Over 13 hours. Still issues. Can anyone suggest a different way to changing the Toolbar to Summary Toolbar? I would appreciate it.

Is there a simple way to change the toolbar from Full to Summary in List View Web Part using object model? I already have object model that adds lvwp. I dont want to re-invent the wheel. By default it's giving "Full Toolbar" and it's good for some wp. However, I have some special WPs that need "Summary Toolbar". I tried few suggested by various blogs but none is helping.

share|improve this question

I know it's a bit easy to point you to a website, but I really think this is what you are looking for: Changing the toolpart of a ListViewWebPart...

share|improve this answer
It's never hitting inside this line if (toolbarNode != null) so I am assuming toolbarnode is not null. well, how to set to Summary toolbar (aka freeform) when it's null? – Roxanne May 16 '11 at 17:21
Okay. I have debugged again and again and stuck with this issue for past 5 hours. Can anyone direct me to right path? Thanks – Roxanne May 16 '11 at 18:41
up vote 0 down vote accepted

Finally called MS support and they wanted me to try this link and boom. It worked first try.

share|improve this answer
Where in the link that you provided does it mention the toolbar or summary? I followed the link and was not able to find any of that information. Could you please provide some code in your answer? – skeletank Mar 15 '12 at 14:38
same as skeletank. Did not find anything on that link... Useless... – jumbo Sep 19 '12 at 10:20

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.