Hi,
i am trying to build an editable TreeView:
if selectedNade change the current selected value goes to a radtextbox:
on KeyUp Event i store the value back:
this doesn't work immediately, but if i click on another node then the last node updates correctly. i tried refresh(), update() and implementing INotifyPropertyChanged, but nothing worked
is live updateing possible?
greetings
i am trying to build an editable TreeView:
if selectedNade change the current selected value goes to a radtextbox:
private void radTreeView1_SelectedNodeChanged(object sender, Telerik.WinControls.UI.RadTreeViewEventArgs e) { TestItem item = radTreeView1.SelectedNode.DataBoundItem as TestItem; if (item != null) { radTextBox1.Text = item.Name; radTextBox1.Enabled = true; } }on KeyUp Event i store the value back:
private void radTextBox1_KeyUp(object sender, KeyEventArgs e){ if (radTreeView1.SelectedNode != null) { TestItem item = radTreeView1.SelectedNode.DataBoundItem as TestItem; if (item != null) { item.Name = radTextBox1.Text; } }}this doesn't work immediately, but if i click on another node then the last node updates correctly. i tried refresh(), update() and implementing INotifyPropertyChanged, but nothing worked
is live updateing possible?
greetings
