Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
405
ArgumentNullException
posted

I am attempting to hide/show nodes via binding.  The following infragistics article isn't very MVVM friendly: "http://help.infragistics.com/NetAdvantage/DV/2011.2/CLR4.0/?page=Removing%20Nodes%20From%20Network.html". 

After creating a sample that I thought should work, I receive an "ArgumentNullException" when raising a property changed event on the property bound to the visibility of a node.  Continuing through the error or trying to handle it within a try catch block results in a "StackOverflowException" and crashes the app.

Attached is a sample application.  After running the app if you click the "Hide Red Nodes" button, it reproduces the error every time.  Below are the last few lines from the stack trace.  Is there something  I am doing incorrectly or another recommended approach from infragistics?

Kind Regards,

Daniel

PS Let me know if I would be better served by opening a support ticket.

   at System.Windows.Controls.ToolTipService.SetToolTip(DependencyObject element, Object value)
   at Infragistics.Controls.Maps.NetworkNodeNode.InitializeToolTip()
   at Infragistics.Controls.Maps.NetworkNodeNode.InitializeNode()
   at Infragistics.Controls.Maps.NetworkNodeNode.set_Control(NetworkNodeNodeControl value)
   at Infragistics.Controls.Maps.NetworkNodeNodesPanel.RenderNode(NetworkNodeNode node, Rect elementRect, RenderContext context)
   at Infragistics.Controls.Maps.NetworkNodeNodesPanel.RenderNodes(RenderContext context)
   at Infragistics.Controls.Maps.NetworkNodeNodesPanel.Render()
   at Infragistics.Controls.Maps.XamNetworkNode.ArrangeElements(Boolean immediate, Boolean refreshThumbnail)

 

NetworkNodeIssues.zip
Parents
No Data
Reply
  • 138253
    Verified Answer
    Offline posted

    Hello Daniel,

     

    I have logged this with development under ID: 103706 and I have also created a support ticket on your behalf: CAS-85773-T7GQ2D and have linked the development issue to it, so that you can get automatically updated, when a Service Release containing the fix is available for download. You can get the new version from our website’s “My IG”, “My Keys & Downloads” tags: https://es.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads

     

    You can also monitor the support ticket’s progress through the “My Support Activity” tag: https://es.infragistics.com/Membership/MySupport.aspx

Children