Get value of RadRadioButton group

2 posts, 0 answers
  1. Zvi
    Zvi avatar
    16 posts
    Member since:
    Sep 2014

    Posted 08 Dec 2016 Link to this post


    How can I get the value of a group of RadioButtons ?

    How can I set the default value of each group ?


    The following code for example contains 2 groups:


          <telerik:RadRadioButton Content="Item 1.1" />

         <telerik:RadRadioButton Content="Item 1.2" />



         <telerik:RadRadioButton Content="Item 2.1" />

         <telerik:RadRadioButton Content="Item 2.2" />



    Thank you,

  2. Dinko
    Dinko avatar
    444 posts

    Posted 13 Dec 2016 Link to this post

    Hi Zvi,

    We are not exactly sure what you are trying to achieve in your application. We are guessing that you want to change or get the Content property of the RadRadioButtons in each group. If this is the case there are different ways to do that. Basically, it is depending on the scenario. One way is to get all RadRadioButtons in code behind, sort them by GroupName property and change its Content property depending on some condition. In order to better understand you and provide you a possible solution can you elaborate more on your approach.

    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top