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

Radio Button In RadGrid

6 Answers 785 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Nikhil
Top achievements
Rank 1
Nikhil asked on 19 Jun 2008, 07:26 AM
how to put a radio button inside Rad grid view’
 and how to restrict the user to select only one entry

6 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 19 Jun 2008, 09:44 AM
Hi Nikhil,

Use a GridTemplateColumn to achieve the desired scenario.

ASPX:
          <telerik:GridTemplateColumn  HeaderText="BtnCol"   > 
          <ItemTemplate> 
              <asp:RadioButton ID="RadioButton1" runat="server" /> 
          </ItemTemplate> 
         </telerik:GridTemplateColumn> 

Try setting the AllowMultiRowSelection to false prevent multiple row selection.

Thanks
Shinu.

0
Nikhil
Top achievements
Rank 1
answered on 20 Jun 2008, 07:28 AM
hi Shinu
thanx for reply

AllowMultiRowSelection to false
i am check that but not work
0
Princy
Top achievements
Rank 2
answered on 20 Jun 2008, 08:07 AM
Hi Nikhil,

Have a look at the following demo links.

Client-side row selection
Server-side row selection

Princy.
0
nagi
Top achievements
Rank 1
answered on 25 Jul 2008, 01:58 PM
Hi Telerik Team,

how to put a  2 radio button inside Rad grid  and how to restrict the user to select only one entry in each radio button row , i try this by selecting a single row but its not working .Please suggest me a solution .Waiting for ur reply.

Thanks and regards,
Nagireddy T
0
Matt
Top achievements
Rank 2
answered on 01 Dec 2008, 11:37 PM
Yes I have the same issue can select more than 1 radio button despite multiple row select = false.

Telerik please help
0
Princy
Top achievements
Rank 2
answered on 02 Dec 2008, 04:10 AM
Hello Matt,

You can go through the following code library submission which explains how to check one radiobutton at a time in a grid.
Single RadioButton check at a time with row selection

Thanks
Princy.

Tags
Grid
Asked by
Nikhil
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Nikhil
Top achievements
Rank 1
Princy
Top achievements
Rank 2
nagi
Top achievements
Rank 1
Matt
Top achievements
Rank 2
Share this question
or