RadEnumEditor Not Working as Intended?

5 posts, 1 answers
  1. Andrew
    Andrew avatar
    28 posts
    Member since:
    Mar 2013

    Posted 04 Apr 2013 Link to this post

    I'm evaluating the radcontrols package and have had some problems with the RadPropertyGrid with a FlagEnumEditor.  I followed the documentation here: (http://www.telerik.com/help/wpf/radpropertygrid-radenumeditor.html).  When I run the project and click on the enum field, the FlagEnumEditor seems to be broken.  I can't just click on an option, I need to click and press spacebar.  And it also doesn't let go of the focus. If I click anywhere else on the form, even the close button, the editor just opens and closes like I'm clicking on it. I have to stop the executable to exit the program. Am I just not setting it up properly, or is this a bug?

    Code I used is below:  Image is attached.

    Class MainWindow
        Public Sub New()
     
            ' This call is required by the designer.
            InitializeComponent()
     
            ' Add any initialization after the InitializeComponent() call.
            RadPropertyGrid1.Item = New Employee
     
        End Sub
    End Class
     
    Class Employee
     
     
        Public Property Name As String
        Public Property Position As PositionType
     
        <Flags()> _
        Public Enum PositionType As Integer
            All = -1
            None = 0
            Engineer = 1
            Sales = 2
            Marketing = 4
            Management = 8
        End Enum
     
    End Class

  2. Answer
    Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 04 Apr 2013 Link to this post

    Hello Andrew,

    We have fixed some issues related to the FlagEnumEditor recently. May I ask you to test with our latest binaries from the Q1 2013 SP release?

    Greetings,
    Yoan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Larry
    Larry avatar
    12 posts
    Member since:
    Dec 2009

    Posted 05 Apr 2013 Link to this post

    I am facing the similar problem when using RadDropdownButton in PropertyGrid. Can you please confirm sp1 fixes it?
  5. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 05 Apr 2013 Link to this post

    Hello,

    The release is out, so you could download it and test at your end. Please let us know in case you encounter any problem. 

    Regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. Andrew
    Andrew avatar
    28 posts
    Member since:
    Mar 2013

    Posted 05 Apr 2013 Link to this post

    Yes, this fixed the issue on my end.
Back to Top
UI for WPF is Visual Studio 2017 Ready