HttpCapabilitiesBase.DefaultSubmitButtonLimit Property

Definition

Returns the maximum number of Submit buttons that are allowed for a form.

public:
 virtual property int DefaultSubmitButtonLimit { int get(); };
public virtual int DefaultSubmitButtonLimit { get; }
member this.DefaultSubmitButtonLimit : int
Public Overridable ReadOnly Property DefaultSubmitButtonLimit As Integer

Property Value

The maximum number of Submit buttons that are allowed for a form.

Remarks

The DefaultSubmitButtonLimit property primarily represents the number of soft keys that are available on a WML-compatible mobile device.

Web Forms pages for mobile devices can contain a SelectionList object and more than one Command control. The DefaultSubmitButtonLimit allows you to choose which of the Command controls should be assigned to a soft key on devices that have multiple soft keys.

Applies to