This is a migrated thread and some comments may be shown as answers.

DropDownEditor with CheckBox List in RadPropertyGrid

3 Answers 262 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Dharmavaram
Top achievements
Rank 1
Dharmavaram asked on 15 Sep 2016, 10:28 AM

Hi,

  I want to show ListItems with Checkboxes as shown in the attached image,so that user can select multiple options in the dropdown option of PropertyGrid.

How to achieve this??

Regards,

Nagasree.

 

  

3 Answers, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 15 Sep 2016, 01:39 PM
Hello Nagasree,

Please check the following article from our documentation page - FlagEnumEditor as it describes how to achieve the desired behavior. Generally, if you have a FlagEnum property on your business object the PropertyGrid should auto-generate a FlagEnumEditor, but you can explicitly set it in the EditorTemplate of the PropertyDefinition as shown in the article. I have added a sample project for your convenience so you can refer to it.

Regards,
Stefan Nenchev
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Dharmavaram
Top achievements
Rank 1
answered on 16 Sep 2016, 10:49 AM

Hi Stefan,

      I have checked the "FlagEnumEditor"  and I think it meets my requirement.I am not able to open the sample project.when I tried to open in VS2013 the project not loaded.If you can provide sample project which I can successfully open,it will be helpful for me.

Regards,

Nagasree.

 

0
Accepted
Stefan Nenchev
Telerik team
answered on 16 Sep 2016, 11:55 AM
Hi Nagasree,

What exactly was the error that appeared when opening the project? Actually, we have an example regarding the FlagEnumEditor in our SDK Samples Browser so you can directly check the demo there. Once you have installed the application, simply navigate to the PropertyGrid control and check the FlagEnumEditor demo

I have also updated the project from my previous reply to target the .Net 4.0 Framework instead of 4.5. If it does not work again, you can simply reuse the classes in a new project.

Regards,
Stefan Nenchev
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
PropertyGrid
Asked by
Dharmavaram
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Dharmavaram
Top achievements
Rank 1
Share this question
or