Welcome Guest Search | Active Topics | Sign In | Register

Delete node from treeview Options
Craig
Posted: Wednesday, May 21, 2008 10:55:22 PM
Rank: Member
Groups: Member

Joined: 3/4/2008
Posts: 14
I have a context menu which when right clicked on a node displays a delete option which when clicked I handle client-side with javascript setting it to visible(false):


function ItemClick(e,info)
{
Node.setCheckState(0);
Node.setVisible(false);

}


. However, server-side, in the EO.Web.NavigationItemEventArgs there is no information on which node was clicked .. so I have to loop through and look for ones which are not visible.. is there no way of showing the node clicked serverside.. I need to delete the node info from an object.


also


I have just purchased a license, placed the file in the bin directory and also placed the EO.Web.Runtime.AddLicense in the application_start method and I still get the license warning in the browser.. does it take time to activate?
eo_support
Posted: Thursday, May 22, 2008 9:45:31 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

This property tells you which node last triggered the context menu:

http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.TreeView.ContextNode.html

The license key should work right away. Check if this post helps:

http://www.essentialobjects.com/Forum/Default.aspx?g=posts&t=119

Thanks





You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.