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
1285
Updating node data
posted

Hi

I am trying to change the data in a selected node using the following code:

Private Sub OrgChart_NodeMouseRightButtonDown(sender As Object, e As Infragistics.Controls.Maps.OrgChartNodeClickEventArgs) Handles OrgChart.NodeMouseRightButtonDown

Dim employee As Employee = DirectCast(e.Node.Node.Data, Employee)

employee.Name = "Fred Smith"

End Sub

I cannot seem to get the node to show the new data - is there a Refresh method or something else I can use?

Thanks

Andrew

Parents Reply Children