Prepare for your Next Interview
This is a discussion on how could I group radio buttons in datagrid? within the C# forums, part of the Software Development category; radio buttons cannot be grouped in datagrid...
|
|||
|
radio buttons cannot be grouped in datagrid
|
| The Following User Says Thank You to prash98in For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: how could I group radio buttons in datagrid?
Hi Prash,
The basic funda to group radio buttons is to ensure that all should have same GroupName property. For this u can choose following options 1. Find RadioButton controls in Grid by using FindControl function and set GroupName="MyGroup" for each of them in PreRender event 2. Create an ItemTemplate, add RadioButton into it and set its GroupName ot MyGroup ---V V--- Vikas Vaidya Please mark this post as Thank if u find the answer useful |
|
|||
|
Re: how could I group radio buttons in datagrid?
Radio buttons should have same GroupName property. Create an ItemTemplate, add RadioButton into it and set its GroupName as you like. There is a control for finding the RadioButton controls in Grid by using FindControl function and set GroupName="gname"
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script for Radio Button | plnsrikanth | QTP | 1 | 01-03-2008 08:13 AM |
| Browser buttons through CSS | iravhari | HTML & CSS | 0 | 05-13-2007 03:34 AM |
| test cases for Radio | neetisharma | Test Cases | 4 | 04-18-2007 06:57 AM |
| Is it possible to change the initial value of radio group in oracle forms | vijaycsvk | Oracle | 0 | 04-09-2007 08:31 AM |
| What is Satellite Radio | suji | Geeks Lounge | 0 | 05-26-2006 09:10 AM |