Radio button list inside telerik Radgrid RRS feed

  • Question

  • <telerik:GridTemplateColumn UniqueName="colest">
                                             <asp:RadioButtonList ID="rblColTestOptions" runat="server" RepeatDirection="Horizontal" CssClass="radio-button-list" DataValueField ="testCode"> 
                                            <asp:ListItem Text="Yes" Value="200"/>
                                            <asp:ListItem Text="No" Value="300"/>
                                            <asp:ListItem Text="Does not know" Value="400"/>
                                            <ItemStyle Font-Bold="true" Wrap="false" Width="50px" />

    I have a radiobutton list inside a telerik rad grid. There are 3 options in the Radio button list. I want to select the options based on the Column 'testCode' I get from database. My Grid has 2 columns Id, TestCode. My datasource also get 2 columns ,how do I set the values in radio buttons based on the results from the data source. Each Id will have its own testCode. I may have to use SelectedValue property or some other way to set the value for radio button list from code behind

    Please advice.

    Attached  is the radio button list code.

    • Moved by CoolDadTx Friday, June 8, 2018 1:44 PM Third party product
    Wednesday, June 6, 2018 4:51 PM

All replies

  • Hi Manshu123,

    Thank you for posting here.

    For your question is more related to asp.net, you could post a new thread in ASP.NET forum for suitable support.


    The Visual C# forum discuss and ask questions about the C# programming language, IDE, libraries, samples, and tools.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, June 8, 2018 3:08 AM