WebGrid.HasSelection Property

Definition

Gets a value that indicates whether a row in the WebGrid instance is selected.

C#
public bool HasSelection { get; }

Property Value

true if a row is currently selected; otherwise, false.

Applies to

Product Versions
ASP.NET Web Pages 3.2