hi telerik
i save nodes name in sql database ,how can i get new name after renaming a node .?
i test this codes :
Private Sub TreeDevices_TextChanged(sender As Object, e As EventArgs) Handles TreeDevices.ValueChanged
dim Com as sqlcommand=" update Table1 set Field2='" & TreeDevices.SelectedNode.Name & "' where field1 = " & TreeDevices.SelectedNode.Tag
con.Open()
com.ExecuteNonQuery()
con.Close()
End Sub
after renaming a node event "TreeDevices.ValueChanged" occur but "TreeDevices.SelectedNode.Name" still return old name.
what can i do?
thank you
omid
i save nodes name in sql database ,how can i get new name after renaming a node .?
i test this codes :
Private Sub TreeDevices_TextChanged(sender As Object, e As EventArgs) Handles TreeDevices.ValueChanged
dim Com as sqlcommand=" update Table1 set Field2='" & TreeDevices.SelectedNode.Name & "' where field1 = " & TreeDevices.SelectedNode.Tag
con.Open()
com.ExecuteNonQuery()
con.Close()
End Sub
after renaming a node event "TreeDevices.ValueChanged" occur but "TreeDevices.SelectedNode.Name" still return old name.
what can i do?
thank you
omid