Command::OnItemCommand Method (CommandEventArgs^)
Called when the user activates the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
Parameters
- e
-
Type:
System.Web.UI.WebControls::CommandEventArgs^
An CommandEventArgs object that contains event data.
The default implementation raises the ItemCommand event. Inheriting classes can override this method to perform other tasks.
The OnItemCommand event is raised after the OnClick event. This is useful when you must take the same actions for multiple Command buttons. You can use the CommandName or CommandArgument property of the Command control to identify which Command button was clicked.
Available since 1.1
OnItemCommand
OnClick
CommandName
CommandArgument
Command Class
System.Web.UI.MobileControls Namespace
Introduction to the Command Control