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

Custom Items cause infinity loop

1 Answer 80 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Fabian
Top achievements
Rank 1
Fabian asked on 03 Nov 2020, 11:24 AM

Hello all,

 

i am trying to follow the official tutorial considering custom items for the RadPropertyGrid (https://docs.telerik.com/devtools/winforms/controls/propertygrid/custom-items) in a Progress Openedge 11.7 environment. I set up a test project consisting of a Form that holds a RadPropertyGrid and a Button whose Click Event will set the SelectedObject of the RadPropertyGrid. All other classes are more or less exactly translated into OpenEdge code from the tutorial.

The problem appears to be the assignment of the "ItemElementType" in the custom CreateItemElement

On the line "e:ItemElementType = TypeHelper:GetType("CustomItemElement")." the client begins to fire the event again and cause an infinit loop of event calls.

 

I could provide the sample project as .7zip if you like. 

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 04 Nov 2020, 01:18 PM

Hello, Fabian, 

I have tested the provided code snippet from the referred help article. It seems to behave properly in a Visual Studio C# project. I have attached the project for your reference. The attached gif file illustrates the obtained behavior on my end. I believe that it might not directly related to RadPropertyGrid but the environment that you are using.

I understand that you are using OpenEdge and Developer Studio, please note that for OpenEdge related topics the preferred places to submit a technical question are Salesforce and the Progress Community. You can log in to these websites straight from your Progress account: https://progresslink.progress.com/supportlink  Thus, the OpenEdge support engineers would gladly assist you for any OE related problems that you are experiencing.

I hope this information helps. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
PropertyGrid
Asked by
Fabian
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or