WebGrid Methods

Include Protected Members
Include Inherited Members

The WebGrid type exposes the following members.

Methods

  Name Description
Public method AddSorter<TElement, TProperty> Adds a specific sort function for a given column.
Public method Bind Binds the specified data to the WebGrid instance.
Public method Column Creates a new WebGridColumn instance.
Public method Columns Returns an array that contains the specified WebGridColumn instances.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetContainerUpdateScript Returns a JavaScript statement that can be used to update the HTML element that is associated with the WebGrid instance on the specified web page.
Public method GetHashCode (Inherited from Object.)
Public method GetHtml Returns the HTML markup that is used to render the WebGrid instance and using the specified paging options.
Public method GetPageUrl Returns a URL that can be used to display the specified data page of the WebGrid instance.
Public method GetSortUrl Returns a URL that can be used to sort the WebGrid instance by the specified column.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Pager Returns the HTML markup that is used to provide the specified paging support for the WebGrid instance.
Public method Table Returns the HTML markup that is used to render the WebGrid instance.
Public method ToString (Inherited from Object.)

Top

See Also

Reference

WebGrid Class

System.Web.Helpers Namespace