Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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... http://www.tonstegeman.com/Blog/Lists/Posts/Post.aspx?List=70640fe5-28d9-464f-b1c9-91e07c8f7e47&ID=90

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
add comment

Your Answer

 
discard

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.