FORCESELECTION Attribute | ForceSelection Property

Sets or retrieves a value that indicates whether at least one ToolbarCheckButton in a ToolbarCheckGroup must be selected.

Syntax

Visual Basic  Public  Property ForceSelection As bool
C# public  bool ForceSelection { get; set; }
Managed C++ public:  __property bool get_ForceSelection();
public:  __property void set_ForceSelection(bool);
JScript public   function get ForceSelection() : bool;
public   function set ForceSelection(bool);

Possible Values

sForceSelection bool that specifies or receives a value that indicates whether at least one TOOLBARCHECKBUTTON must be selected.
falseDefault. No TOOLBARCHECKBUTTON has to be selected.
trueAt least one TOOLBARCHECKBUTTON must be selected.

The property is read/write. The property has a default value of false.

Remarks

By setting FORCESELECTION to true, at least one TOOLBARCHECKBUTTON within the TOOLBARCHECKGROUP object must be selected by the user. By default, the first TOOLBARCHECKBUTTON is selected.

Applies To

TOOLBARCHECKGROUP

See Also

Internet Explorer WebControls, About the Toolbar WebControl