We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Radio button(s) cell type

Thread ID:

Created:

Updated:

Platform:

Replies:

6001 Jul 28,2003 11:03 AM Aug 13,2003 05:49 AM Windows Forms 4
loading
Tags: GridControl
Mike O'Connor
Asked On July 28, 2003 11:03 AM

Is there a relatively simple way to have radio buttons (preferably a related group of radio buttons) as a cell type? I notice that I can select a cell type of "Control" - would this be any windows control? I can't find an example of this in use - anyone have an idea? Thanks, Mike O'Connor

Administrator [Syncfusion]
Replied On July 28, 2003 12:34 PM

You could use the new Control CellType to handle this. You could place radio buttons in a panel or groupbox and use this 'container' control as the celltype. There is some sample code in this forum thread that shows how to put a TextBox in a cell using the "Control" celltype. You could to the same with a panel. http://www.syncfusion.com/forums/message.asp?MessageID=5746 In addition, you could derive your own cell control that has radio buttons in it. Here is a sample.

Administrator [Syncfusion]
Replied On August 12, 2003 06:07 PM

Would it be possible to convert this sample to VB.NET? I'm having a lot of frustrating problems trying to do it myself. Your help would definitely be appreciated! > You could use the new Control CellType to handle this. You could place radio buttons in a panel or groupbox and use this 'container' control as the celltype. There is some sample code in this forum thread that shows how to put a TextBox in a cell using the "Control" celltype. You could to the same with a panel. > > http://www.syncfusion.com/forums/message.asp?MessageID=5746 > > In addition, you could derive your own cell control that has radio buttons in it. Here is a sample. > >

Administrator [Syncfusion]
Replied On August 13, 2003 01:54 AM

Attached are both VB abd C# versions.

Administrator [Syncfusion]
Replied On August 13, 2003 05:49 AM

Thanks for the quick response Clay! As it turns out, I converted all the code to VB.NET correctly except for one line -- the array definition. Apparently the way VB.NET handles array declarations is a bit different from the way they are declared in C# (ugh!). Thanks for your help!

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;