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

RadToolbar dropdown button with checkboxes

3 Answers 285 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Mariyam Khambhati
Top achievements
Rank 1
Mariyam Khambhati asked on 17 Oct 2008, 11:30 AM
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.

3 Answers, 1 is accepted

Sort by
0
Mariyam Khambhati
Top achievements
Rank 1
answered on 20 Oct 2008, 02:52 PM

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.

0
Peter
Telerik team
answered on 20 Oct 2008, 03:37 PM
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.
Tags
ToolBar
Asked by
Mariyam Khambhati
Top achievements
Rank 1
Answers by
Blaize
Top achievements
Rank 1
Mariyam Khambhati
Top achievements
Rank 1
Peter
Telerik team
Share this question
or