=( this way not working..
Exception:
System.ArgumentException: Ribbon Tab node must have a Scaling subnode. at Microsoft.Web.CommandUI.Ribbon.CreateRenderContext(CUIDataSource uiproc) at Microsoft.Web.CommandUI.Ribbon.Render(HtmlTextWriter writer)...
My Element XML
<CommandUIDefinition Location="Ribbon.Tabs._children">
<Tab
Description="Custom Tab"
Id="ParameterManagerRibbon.CustomTab"
Sequence="1"
Title="Custom Tab">
<Scaling Id="ParameterManagerRibbon.CustomTab.Scaling">
<MaxSize
Id="ParameterManagerRibbon.CustomTab.CustomGroup.MaxSize"
GroupId="ParameterManagerRibbon.CustomTab.CustomGroup"
Size="LargeLarge"
Sequence="10" />
<Scale GroupId="ParameterManagerRibbon.CustomTab.CustomGroup" Size="Large" Id="ParameterManagerRibbon.CustomTab.CustomGroup.Scale"/>
</Scaling>
<Groups Id="ParameterManagerRibbon.CustomTab.Groups">
<Group
Id="ParameterManagerRibbon.CustomTab.CustomGroup"
Sequence="1"
Title="Custom Group"
Template="Ribbon.Templates.Flexible2"
Image32by32Popup="/_layouts/images/RibbonCustomization/images32x32.png"
Image32by32PopupTop="-128"
Image32by32PopupLeft="-192">
<Controls Id="ParameterManagerRibbon.CustomTab.CustomGroup.Controls">
<Button
Id="ParameterManagerRibbon.CustomButton"
Sequence="20"
Command="ParameterManagerRibbon_CustomButton"
LabelText="Custom Button Label"
Alt="Custom Button alt text"
Image16by16="/_layouts/images/RibbonCustomization/images16x16.png"
Image16by16Top="-16"
Image16by16Left="-32"
Image32by32="/_layouts/images/RibbonCustomization/images32x32.png"
Image32by32Top="0"
Image32by32Left="-64"
TemplateAlias="o1"
ToolTipTitle="Custom Button"
ToolTipDescription="Executes custom action" />
</Controls>
</Group>
</Groups>
</Tab>
</CommandUIDefinition>
</CommandUIDefinitions>
<CommandUIHandlers>
<CommandUIHandler
Command="ParameterManagerRibbon_CustomButton"
CommandAction="javascript:alert('Button clicked.');"
EnabledScript="true" />
</CommandUIHandlers>
</CommandUIExtension>