How to use both RadioButton and Checkbox in a RadTreeView

2 posts, 0 answers
  1. Nidhi
    Nidhi avatar
    1 posts
    Member since:
    Mar 2012

    Posted 09 Mar 2012 Link to this post


    I need to use a radio button just beside the rendered checkbox in a radtreeview.

    I show a list of products in the treeview so that the users can select multiple products and make a set, but at the same time user needs to select a single product as the most favourite product. Using radio button in the treeview to identify the favourite product is a client requirement.

    Could you please help me out of it. I dont even know whether the requirement has got a feasible solution. Help !!!!
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 12 Mar 2012 Link to this post


    One suggestion is you can put the RadioButton in NodeTemplate as shown below.
    <telerik:RadTreeView ID="RadTreeView1" runat="server" CheckBoxes="true">  
       <telerik:RadTreeNode Text="Parent1">
         <asp:RadioButton ID="RadioButton1" runat="server" Text="Text"  />

  3. DevCraft R3 2016 release webinar banner
Back to Top