![]() |
Grouping RadioButtons in a DataGrid
Hello,
I have a TemplateColumn as the first column in my datagrid to display radiobuttons for selection of rows. The problem is, when the table (dataGrid) is generated all the Radiobuttons have autogenerated names so that they dont belong to the same group and more than one are selectable. How can i group the generated Radio buttons so tht only a single one may be selected at a time. I'd prefer using the datagrid rather than the radiobuttonlist control if this issue can be resolved. Regards, Nabeel |
Re: Grouping RadioButtons in a DataGrid
There is a third party tool available from MetaBuilders.com. There you can
get the source code as well. "Sheikh Nabeel Moeen" <sheikh_nabeel_moeen@yahoo.com> wrote in message news:unRDQG2mEHA.2684@TK2MSFTNGP12.phx.gbl... > Hello, > I have a TemplateColumn as the first column in my datagrid to display > radiobuttons for selection of rows. > The problem is, when the table (dataGrid) is generated all the Radiobuttons > have autogenerated names so that they dont belong to the same group and more > than one are selectable. > How can i group the generated Radio buttons so tht only a single one may be > selected at a time. > > I'd prefer using the datagrid rather than the radiobuttonlist control if > this issue can be resolved. > > Regards, > Nabeel > > |
| All times are GMT. The time now is 03:37 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.