WebGrid.SelectionFieldName Property

Gets the full name of the query-string field that is used to specify the selected row of the WebGrid instance.

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

Syntax

'Declaration
Public ReadOnly Property SelectionFieldName As String 
    Get
'Usage
Dim instance As WebGrid 
Dim value As String 

value = instance.SelectionFieldName
public string SelectionFieldName { get; }
public:
property String^ SelectionFieldName {
    String^ get ();
}
member SelectionFieldName : string
function get SelectionFieldName () : String

Property Value

Type: System.String
The full name of the query string field that is used to specify the selected row of the grid.

Remarks

The full name of a query string field is formed by prepending the value of the FieldNamePrefix property to the value of the specified field name property. The value of the field name properties and the value of the FieldNamePrefix property are set when the WebGrid object is instantiated by using the WebGrid(IEnumerable<Object>, IEnumerable<String>, String, Int32, Boolean, Boolean, String, String, String, String, String, String, String) constructor and cannot be changed later.

See Also

Reference

WebGrid Class

System.Web.Helpers Namespace