WebGrid.PageFieldName Property
Gets the full name of the query-string field that is used to specify the current page of the WebGrid instance.
Namespace: System.Web.Helpers
Assembly: System.Web.Helpers (in System.Web.Helpers.dll)
Syntax
'Declaration
Public ReadOnly Property PageFieldName As String
Get
'Usage
Dim instance As WebGrid
Dim value As String
value = instance.PageFieldName
public string PageFieldName { get; }
public:
property String^ PageFieldName {
String^ get ();
}
member PageFieldName : string
function get PageFieldName () : String
Property Value
Type: System.String
The full name of the query string field that is used to specify the current page 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 the value cannot be changed later.