Consider the following code...
You can see that the only noteworthy difference between the two toolbars is that the first has no text associated with the buttons in the splitbutton control.
If you run this page, you will see that the top toolbar displays the splitbutton with just an image, which is what I want. Clicking on the down arrow, however, displays nothing.
Clicking on the down arrow of splitbutton on the 2nd toolbar displays the menu of buttons, which is what I want.
In short, what I'm looking for is a use the splitbutton so that it displays JUST the icon and the down arrow on the toolbar but BOTH the icon and the text in the dropdown menu.
Any clues?
--
Stuart
<html xmlns="http://www.w3.org/1999/xhtml" > |
<head runat="server"> |
<title></title> |
</head> |
<body> |
<form id="form1" runat="server"> |
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
</telerik:RadScriptManager> |
<telerik:RadToolBar ID="RadToolBar1" runat="server" style="width:100%;"> |
<Items> |
<telerik:RadToolBarSplitButton runat="server" EnableDefaultButton="true" DefaultButtonIndex="0" > |
<Buttons> |
<telerik:RadToolBarButton Value="first" ImageUrl="Images/ticket1-16.png" /> |
<telerik:RadToolBarButton Value="second" ImageUrl="Images/tickets16.png" /> |
</Buttons> |
</telerik:RadToolBarSplitButton> |
</Items> |
</telerik:RadToolBar> |
<hr /> |
<telerik:RadToolBar ID="RadToolBar2" runat="server" style="width:100%;"> |
<Items> |
<telerik:RadToolBarSplitButton runat="server" EnableDefaultButton="true" DefaultButtonIndex="0" > |
<Buttons> |
<telerik:RadToolBarButton Value="first" ImageUrl="Images/ticket1-16.png" Text="One Ticket" /> |
<telerik:RadToolBarButton Value="second" ImageUrl="Images/tickets16.png" Text="Multiple Tickets" /> |
</Buttons> |
</telerik:RadToolBarSplitButton> |
</Items> |
</telerik:RadToolBar> |
</form> |
</body> |
</html> |
You can see that the only noteworthy difference between the two toolbars is that the first has no text associated with the buttons in the splitbutton control.
If you run this page, you will see that the top toolbar displays the splitbutton with just an image, which is what I want. Clicking on the down arrow, however, displays nothing.
Clicking on the down arrow of splitbutton on the 2nd toolbar displays the menu of buttons, which is what I want.
In short, what I'm looking for is a use the splitbutton so that it displays JUST the icon and the down arrow on the toolbar but BOTH the icon and the text in the dropdown menu.
Any clues?
--
Stuart