PDA

View Full Version : Solved: Add Design Mode onto Ribbon



JKwan
04-29-2013, 01:47 PM
I tried to add the Design Mode onto the ribbon, I am not very successful in doing that. It is giving me error, wonder if someone can help. I have this code, but it is erroring out. The error "type button is incompatible with the actual control type 'ToggleButton'"



<button idMso="DesignMode" showLabel="false"/>

Aflatoon
04-30-2013, 04:42 AM
I think the clue is in the message - it's not a button it's a togglebutton so change that attribute in the xml. ;)

JKwan
04-30-2013, 05:52 AM
Thanks for the kick in the butt! I was so fixated on the BUTTON element and never occur to me that it is a ToggleButton.