Diagram PropertyChanged generates error

Hi,

I like to save Diagram changed to the database as jsonstring.
Therefore I implemented the PropertyChange event.
The first diagram object is saved to the database, but then an error appears in the dom inspector console window:

Please help me out.
Thanks

My code is attached to this ticket.

Some messages have been moved to the Issues panel.
blazor.server.js:8 Uncaught (in promise) Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   at System.Collections.Generic.List`1.get_Item(:44384/Int32 index)
   at System.Collections.ObjectModel.Collection`1.System.Collections.IList.get_Item(:44384/Int32 index)
   at Syncfusion.Blazor.Diagrams.SfDiagram.UpdateComponentModel(:44384/Dictionary`2 properties, Object parentObject)
   at Syncfusion.Blazor.Diagrams.SfDiagram.UpdateBlazorProperties(:44384/Dictionary`2 properties)
   at Syncfusion.Blazor.Diagrams.SfDiagram.UpdateBlazorDiagramObjects(:44384/Dictionary`2 DiagramObject)
    at Object.endInvokeDotNetFromJS (blazor.server.js:8)
    at e.<anonymous> (blazor.server.js:8)
    at blazor.server.js:1
    at Array.forEach (<anonymous>)
    at e.invokeClientMethod (blazor.server.js:1)
    at e.processIncomingData (blazor.server.js:1)
    at e.connection.onreceive (blazor.server.js:1)
    at WebSocket.i.onmessage (blazor.server.js:1)
endInvokeDotNetFromJS @ blazor.server.js:8
(anonymous) @ blazor.server.js:8
(anonymous) @ blazor.server.js:1
e.invokeClientMethod @ blazor.server.js:1
e.processIncomingData @ blazor.server.js:1
connection.onreceive @ blazor.server.js:1
i.onmessage @ blazor.server.js:1


Attachment: AnnexC_c2ff11b0.rar

1 Reply

GG Gowtham Gunashekar Syncfusion Team January 28, 2021 02:26 PM UTC

Hi Joost, 
 
We cannot able to replicate the reported issue from our side. we request you to share the video demonstration or runnable sample with replicating procedure for the reported issue, that would be help us to proceed further. 
 
Regards 
Gowtham 


Loader.
Up arrow icon