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.
Syncfusion Feedback

Single Select RadioButton column

Thread ID:

Created:

Updated:

Platform:

Replies:

72852 Apr 8,2008 10:13 PM UTC Apr 10,2008 11:06 PM UTC Windows Forms 4
loading
Tags: GridControl
Julie
Asked On April 8, 2008 10:13 PM UTC

Hi -
I am using the GridControl, version 5.2.0.25.
I want to have a column with each row containing one radiobutton which behave as a grouping or a single selection column. Only one radiobutton can be selected at a time, setting one clears the previous selected radiobutton.

Do you have any samples demonstrating how to manage the single selection behavior?

Thanks,
Julie


Administrator [Syncfusion]
Replied On April 9, 2008 05:51 AM UTC

Hi Julie,

Thank you for your interest in Syncfusion products.

Please refer the following forum thread that discusses about "How to set a column with each row containing one Radiobutton which behave as a grouping or a single selection column"

http://www.syncfusion.com/Support/Forums/message.aspx?&MessageID=49743

Please have a look the above forum thread and let me know if this helps.

Regards,
Jisha


Julie Levy
Replied On April 9, 2008 11:24 PM UTC

Thanks for your response. This works just fine. One more minor question. My radiobutton will not have any text. How can i create the cell with the radiobutton in the center? It seems to move based on the text alignment even if there is no text!
Thanks,
Julie


Jisha Joy [Syncfusion]
Replied On April 10, 2008 10:39 AM UTC

Hi Julie,

Thank you for your update.

You can make use of the BorderMargins property to do this.

Please refer the code:


this.gridControl1[4, 2].BorderMargins.Left = 50;
this.gridControl1[4, 2].BorderMargins.Right =150;


Kindly try this and let me know if this helps.
Regards,
Jisha


Julie Levy
Replied On April 10, 2008 11:06 PM UTC

thanks!


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.

Warning Icon 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.Close Icon

;