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. Image for the cookie policy date
close icon

Radio Button control in property grid

Hi, is it possible to change the control from textbox to radio button in property grid? if yes, can anyone provide the sample ?
Thanks in advance 

3 Replies

VR Venkateshwaran Ramdoss Syncfusion Team April 13, 2016 01:26 PM UTC

Hi Tho,

We have prepared a sample based on your requirement. In this sample, we have used CustomEditor to use the RadioButton control in PropertyGrid. Please download the sample from the below attachment.

Regards,
Venkateshwaran V.R.

Attachment: RadioButtonPGSample_84643fef.zip


MT Mers Tho April 18, 2016 09:02 AM UTC

Hi, thank you for your reply. this works for me.
However, by using the sample you provided, how can I call the radiobutton in radiobuttoneditor to do some function? for example, if single is checked, other property will be hide or something..


VR Venkateshwaran Ramdoss Syncfusion Team April 19, 2016 02:18 PM UTC

Hi Tho,

We have prepared a sample based on your requirement. In this sample, we hooked checked event of RadioButton. In this event you can do the process whenever the selection get changes. Please download the sample from the  below attachment.

Regards,
Venkateshwaran V.R.

Attachment: RadioButtonPGSample_f6e6e3e5.zip

Loader.
Live Chat Icon For mobile
Up arrow icon