Display of RadToolBarDropDown Buttons

2 posts, 1 answers
  1. Robert
    Robert  avatar
    68 posts
    Member since:
    Feb 2009

    Posted 13 Dec 2011 Link to this post

    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>

  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 13 Dec 2011 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top