Jason Conway

just trying to help

RadioButton for the DataGrid or GridView

ConwayControls.zip

The .zip file above contains a custom RadioButton control that works inside a DataGrid or GridView.

Can be used for both 1.1 or 2.0!

Screen Shot of the RadioButton

Comments

Arun said:

How to use the RadioButton

# January 22, 2008 6:36 AM

Jason Conway said:

Arun,

It works like any other control...just drag this particular control into a column template of a DataGrid/GridView and it behaves as a radiobutton should.  You could use it in place of the ASP.NET RadioButton I suppose, but I created it specifically for the grids.

Does this answer your question?

Jason Conway

# February 10, 2008 9:20 PM

Germán Carrillo said:

Hi niceguy, greetings from Colombia.

Thanks for your help. Your control works for me!

I put your control in the gridview this way:

...

<asp:TemplateField >

  <ItemTemplate><ccwc:RadioButton groupname=""...

and it works very well.

Thanks.

# February 14, 2008 4:11 PM

Srinivas said:

Hi, i am using convaycontrol, plese tell me how to capture the radiobutton click event.

# February 22, 2008 3:59 PM

chanu said:

hey ur radio button doesnot indicates whether it is checked or not when used inside gridview by usng the function Findcontrol(),

# March 20, 2008 7:36 AM

Nithin said:

Hi,

I am using the Conway controls. How do i rewrite the same in for vb language. Also please post your reply for the findcontrol too.

thanks in advance.

# March 30, 2008 9:37 AM

Immanuel said:

how to get values dynamically to another column in the table when radio button pressed all happens in gridview

# April 11, 2008 2:48 AM

Phil said:

very nice but...  if I include such a column in a datagrid with a bound DataKeyField, how can I find which DataKey / row / radiobutton has been selected on postback?

Thanks...

# April 22, 2008 6:43 PM

Phil (again) said:

..hmm... sort of figured out a brute-force approach... rather inelegant... but is there a reason you can not or will not compile a version of this DLL which will allow partially trusted callers? It renders it useless with certain ISP's as it is....

thanks again...

# April 22, 2008 8:14 PM