Dear All,
I have a context menu in a TreeView, and one of the options is to rename the title. that is working fine, i am doing this
function onClientContextMenuItemClicked(sender, eventArgs)
{
var menuItem = eventArgs.get_menuItem();
var treeNode = eventArgs.get_node();
switch(menuItem.get_value())
{
case "View":
break;
case "Edit":
break;
case "Rename":
treeNode.get_treeView()._startEdit(treeNode);
break;
case "New":
break;
case "Delete":
break;
}
}
Now I noticed that after changing the treeNode, I am going back to the Page_Load in C#. From that pageLoad, I want to check if the treeNode was changed, and if changed, get the value, so that I can update the database with that value.
Is this possible to do from the C# code-behind?
Thanks for your help
I have a context menu in a TreeView, and one of the options is to rename the title. that is working fine, i am doing this
function onClientContextMenuItemClicked(sender, eventArgs)
{
var menuItem = eventArgs.get_menuItem();
var treeNode = eventArgs.get_node();
switch(menuItem.get_value())
{
case "View":
break;
case "Edit":
break;
case "Rename":
treeNode.get_treeView()._startEdit(treeNode);
break;
case "New":
break;
case "Delete":
break;
}
}
Now I noticed that after changing the treeNode, I am going back to the Page_Load in C#. From that pageLoad, I want to check if the treeNode was changed, and if changed, get the value, so that I can update the database with that value.
Is this possible to do from the C# code-behind?
Thanks for your help