KaxToolBarSplitButtonEnableDefaultButton Property |
Namespace: Kettic.AspNet.Controls
Use the EnableDefaultButton property to set if KaxToolBarSplitButton will use the DefaultButton behavior or not. When the DefaultButton behavior is used, the KaxToolBarSplitButton properties are ignored and the properties of the last selected button are used instead. Use the EnableDefaultButton property in conjunction with the DefaultButtonIndex property to specify which of the KaxToolBarSplitButton child buttons will be used when the KaxToolBar is initially displayed.
<kettic:KaxToolBar id="KaxToolBar1"
runat="server">
<Items>
<kettic:KaxToolBarSplitButton EnableDefaultButton="true"
DefaultButtonIndex="1">
<Buttons>
<kettic:KaxToolBarButton ImageUrl="~/images/red.gif" Text="Red" />
<kettic:KaxToolBarButton ImageUrl="~/images/green.gif" Text="Green" />
<kettic:KaxToolBarButton ImageUrl="~/images/blue.gif" Text="Blue" />
</Buttons>
</kettic:KaxToolBarSplitButton>/
</Items>
</kettic:KaxToolBar>