I have a customer who need a toggle button in the Ribbon. Make a normal button in the Ribbon is straightforward and there is a lot of good articles out there. But there is not so many articles on the toggle button, Chris O'Brien and Wictor Wilen have some post, see the link, but not on handling server site code that call business logic to test which state the toggle button is in. My demo code is built around how to put a toggle button in a document library and test if it is on or off base on some server site business logic.
My demo code: http://cid-18d25562ce576dcc.office.live.com/self.aspx/Offentlig/SharePoint%20files/Ribbon.Demo.zip
Links:
- http://msdn.microsoft.com/en-us/library/ff458393.aspx
- http://msdn.microsoft.com/en-us/library/ff407303.aspx
- http://www.sharepointnutsandbolts.com/2010/02/ribbon-customizations-dropdown-controls.html
- http://www.youtube.com/view_play_list?p=4FE7915791E01D5C
- http://www.sharepointnutsandbolts.com/2010/02/ribbon-customizations-dropdown-controls.html
- http://www.wictorwilen.se/Post/SharePoint-2010-Ribbon-Controls-Part-7-The-ToggleButton-control.aspx
No comments:
Post a Comment