WebGrid.HasSelection Property

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

Namespace:  System.Web.Helpers
Assembly:  System.Web.Helpers (in System.Web.Helpers.dll)

public bool HasSelection { get; }

Property Value

Type: System.Boolean
true if a row is currently selected; otherwise, false.
Show: