DropDownEditor with CheckBox List in RadPropertyGrid

4 posts, 1 answers
  1. Dharmavaram
    Dharmavaram avatar
    73 posts
    Member since:
    Jun 2013

    Posted 15 Sep Link to this post

    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.

     

      

  2. Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    279 posts

    Posted 15 Sep Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Dharmavaram
    Dharmavaram avatar
    73 posts
    Member since:
    Jun 2013

    Posted 16 Sep Link to this post

    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.

     

  5. Answer
    Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    279 posts

    Posted 16 Sep Link to this post

    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.
Back to Top