This is a migrated thread and some comments may be shown as answers.

Display of RadToolBarDropDown Buttons

1 Answer 120 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 13 Dec 2011, 07:50 PM
I'm working with a RadToolBarDropDown item, within the RadToolBar;

The first drop down button appears, but the second drop down button (or subsequent drop down buttons) does not display;

Any insight is appreciated - best regards, Rob

<telerik:RadToolBar ID="RadToolBar4" runat="server" Width="100.3%" OnClientLoad="clientLoad" Skin="Black" CssClass="SeparatedButtons" onbuttonclick="RadToolBar4_ButtonClick">
                           <Items>
                               <telerik:RadToolBarButton CommandName="Documents" ID="rbDocuments" runat="server" Text="Documents" Font-Names="Microsoft Sans Serif" Font-Size="Medium">
                               </telerik:RadToolBarButton>
                                  
                                <telerik:RadToolBarButton runat="server" Text="View Account Profile" Font-Size="Medium" CheckOnClick="true" CommandName="ViewAccountProfile">
                               </telerik:RadToolBarButton>
                               <telerik:RadToolBarDropDown runat="server" Text="Drop down" CssClass="rightAligned" Font-Size="Medium">
                                   <Buttons>
                                      <telerik:RadToolBarButton runat="server" Text="Sign Out" Font-Size="Medium" CheckOnClick="true" CommandName="SignOut">
                                      </telerik:RadToolBarButton>
                                      <telerik:RadToolBarButton runat="server" Text="Contact Us" Font-Size="Medium" CheckOnClick="true" CommandName="ContactUs">
                                      </telerik:RadToolBarButton>
                                   </Buttons>
                               </telerik:RadToolBarDropDown>
                                            
                               <telerik:RadToolBarButton runat="server" Text="Sign Out" Font-Size="Medium" CheckOnClick="true" CommandName="SignOut" CssClass="rightAligned">
                               </telerik:RadToolBarButton>
                     
                               <telerik:RadToolBarButton runat="server" Text="Contact Us" Font-Size="Medium" CheckOnClick="true" CommandName="ContactUs" CssClass="rightAligned">
                               </telerik:RadToolBarButton>
                              
                              <telerik:RadToolBarButton runat="server" Text="Create Account Profile" Font-Size="Medium" CheckOnClick="true" CommandName="AccountProfile" CssClass="rightAligned">
                               </telerik:RadToolBarButton>
                                              
                          </Items>
                       </telerik:RadToolBar>

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 14 Dec 2011, 05:11 AM
Hello,

I am not quite sure about your requirement and I suppose you want to display RadToolBarDropDown Buttons. I have tried the same and it worked as expected. Here is the sample code.
ASPX:
  <telerik:RadToolBarDropDown runat="server" Text="Drop down"  Font-Size="Medium">
    <Buttons>
      <telerik:RadToolBarButton runat="server" Text="Sign Out"  CheckOnClick="true" CommandName="SignOut">
      </telerik:RadToolBarButton>
      <telerik:RadToolBarButton runat="server" Text="Contact Us" CheckOnClick="true" CommandName="ContactUs">
      </telerik:RadToolBarButton>
   </Buttons>
</telerik:RadToolBarDropDown>

Thanks,
Princy.
Tags
ToolBar
Asked by
Robert
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or