Oct 25, 2012 12:17 PM|Syed Basharat Masood|LINK
Where you have created the
public static MvcHtmlString SortDirection(
I am trying but missing the reference of "Html.SortDirection"
Here is the Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0121: The call is ambiguous between the following methods or properties: 'WebGridSorting.SortDirection(System.Web.Mvc.HtmlHelper, ref System.Web.Helpers.WebGrid, string)' and 'WebGridSorting.SortDirection(System.Web.Mvc.HtmlHelper,
ref System.Web.Helpers.WebGrid, string)'
Line 22: grid.Column("LastName", "Last Name", canSort: true,style:"EmailClass"),
Line 23: grid.Column("LastName",
Line 24: header: "User Name " + Html.SortDirection(ref grid,"LastName"),
Line 25: style: "gridview-column-wide",
Line 26: format: @<text>