RadToolbar dropdown button with checkboxes

4 posts, 0 answers
  1. Mariyam Khambhati
    Mariyam Khambhati avatar
    20 posts
    Member since:
    Apr 2008

    Posted 17 Oct 2008 Link to this post

    Hi,

    Please show an example for a Radtoolbar dropdown button, which has checkboxes along with its text, So that when i drill the dropdown button i should be able to select one or more checkbox(s) and get a server/client side event with list of selected checkboxe(s).

    Thanks in advance.
  2. UI for ASP.NET Ajax is Ready for VS 2017
  3. Mariyam Khambhati
    Mariyam Khambhati avatar
    20 posts
    Member since:
    Apr 2008

    Posted 20 Oct 2008 Link to this post

    Hi Blaize,

    I tried to use the templates in RadToolbarDropDown button control, containing a checkbox control within Itemtemplates, but checkbox is not clickable and checkbox‘s text is missing.

    <telerik:RadToolBar ID="RadToolBar1" runat="server">

     

    <Items>

    <telerik:RadToolBarDropDown runat="server" Text="View Columns" DisplayName="DropDown">

    <Buttons>

           <telerik:RadToolBarButton runat="server" Text="Child Button 1" DisplayName="">

                <ItemTemplate>

                      <asp:CheckBox ID="chkBox1" runat="server" Text="Check box 1" />

                </ItemTemplate>

           </telerik:RadToolBarButton>

           <telerik:RadToolBarButton runat="server" Text="Child Button 1" DisplayName="">

                <ItemTemplate>

                      <asp:CheckBox ID="chkBox2" runat="server" Text="Check box 2" />

                </ItemTemplate>

           </telerik:RadToolBarButton>

         </Buttons>

       </telerik:RadToolBarDropDown>

    </Items> 

    </telerik:RadToolBar>   

     

    Please let me know your suggestion.

    Thanks in advance.

  4. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 20 Oct 2008 Link to this post

    Hi Mariyam,

    Using your code, we replicated the issue with the Text of the checkbox. However, the checkboxes are clickable on our side. I have logged the first problem and we will see to it shortly.


    Regards,
    Peter
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top