I am using a RadTreeList control to display a bunch of items. I added a RadContextMenu to the page and set the OnItemClick event so I can use it in the code behind to set the URL of my RadWindow based on Insert and Edit. Then I open a radwindow using that url.
It looks exactly like the one in this demo
In here I am trying to retrieve the ID and the ParentID of the selected item from the tree list. The ultimate goal is to open a RadWindow passing the ID and ParentID through the URL.
It looks exactly like the one in this demo
protected void rcMenu_ItemClick(object sender, RadMenuEventArgs e) { switch (e.Item.Value) { case "Insert": url = "~/Admin/ManageItemsDialog.aspx?ID=" break; case "Edit": url = "~/Admin/ManageItemsDialog.aspx?ID=" break; } }In here I am trying to retrieve the ID and the ParentID of the selected item from the tree list. The ultimate goal is to open a RadWindow passing the ID and ParentID through the URL.