WebGrid.FieldNamePrefix Property

Gets the prefix that is applied to all query-string fields that are associated with the WebGrid instance.

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

Syntax

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

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

Property Value

Type: System.String
The query-string field prefix of the WebGrid instance.

Remarks

The FieldNamePrefix property is used to uniquely identify the query-string arguments that are associated with each instance of the WebGrid class on a web page that contains multiple WebGrid instances.

See Also

Reference

WebGrid Class

System.Web.Helpers Namespace