After remove property definition, all other definition is read only

2 posts, 0 answers
  1. Ferenc
    Ferenc avatar
    1 posts
    Member since:
    Aug 2010

    Posted 13 May 2019 Link to this post


    If i remove some property definition at runtime on code behind, then all other definition is only readonly on UI. I debugging the property definition list, but show is readonly = false after remove items, however UI is disabled.

    The removed item is properly removed from UI.
    What the problem?

    This code using to remove:
    EditProperty.PropertyDefinitions.RemoveRange(EditProperty.PropertyDefinitions.Where(x => x.OrderIndex == 500).ToList());

  2. Vladimir Stoyanov
    Vladimir Stoyanov avatar
    657 posts

    Posted 16 May 2019 Link to this post

    Hello Ferenc,

    Thank you for the provided code snippet. 

    I tried to reproduce the described scenario on my end, however I was not able to do so. This is why I am attaching the sample project, which I used for testing.

    May I ask you to check it out and let me know, if I am missing something of importance? Can you elaborate on how I can reproduce the same behavior with the sample project? This way I will hopefully be able to replicate the result and investigate it.

    Vladimir Stoyanov
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top