How to: Add and Configure a Command Control
Use the Command control to post user input to the server.
To add a Command control to an ASP.NET mobile Web page
Drag a Command control from theMobile Web Forms tab of the Toolbox onto a Form or Panel control, or inside a control's template on a mobile Web page. You can also drag it onto a mobile user control page.
Set the Format property to specify whether the control appears as a Button or a Link.
In the Properties window, set the control's Text property.
In the SoftkeyLabel property, enter text to display when the Command control is rendered as a softkey.
Set the control's CommandName property.
If you want, configure other properties of the Command control. For example:
If you want the control to display an image, set its ImageUrl property to the URL of the graphic file to display.
If the Command control must pass a value to an event handler, enter the value into the CommandArgument property.
If you do not want the Command control to cause validation, set its CausesValidation property to false.