System.Web.UI.WebControls.ListControl.ClearSelection Method

Clears out the list selection and sets the ListItem.Selected property of all items to false.

Syntax

public virtual void ClearSelection ()

Remarks

Use this method to reset the control so that no items are selected.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0