Version

ItemCommand Event (WebDataTree)

Occurs when a Node is expanded on the client. The event is fired the next time the page is posted back to the server.
Syntax
'Declaration
 
Public Event ItemCommand As DataTreeCommandEventHandler
public event DataTreeCommandEventHandler ItemCommand
Event Data

The event handler receives an argument of type DataTreeCommandEventArgs containing data related to this event. The following DataTreeCommandEventArgs properties provide information specific to this event.

PropertyDescription
CommandArgument (Inherited from System.Web.UI.WebControls.CommandEventArgs)Gets the argument for the command.
CommandName (Inherited from System.Web.UI.WebControls.CommandEventArgs)Gets the name of the command.
CommandSource  
Node  
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also