Option 'group' not grouping in datagrid

J

JemPower

I wonder if anyone has some advice or suggestions on a problem I have. I've
populated a datagrid and have a radiobutton in the first column which is for
the users to select a row.

The problem is that .net translates the names of the radiobutton, for
example "optSelect" to "grdNames_ctl2_optSelect", with the ctl2 part of the
name incrementing for each row!

Of course when I come to run the page and check which radiobutton is
checked, the page naturally returns more than one because the 'grouping'
element is not cleared. I did discover a groupName element of the
radiobutton however the naming convention when compiled is as above, only
with a ":groupName" appended at the end.

Anybody got a solution to the above?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top