HttpCapabilitiesBase.DefaultSubmitButtonLimit Property

Definition

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

C#
public virtual int DefaultSubmitButtonLimit { get; }

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

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1