diff --git a/StockManMVC/App_Start/MVCGridConfig.cs b/StockManMVC/App_Start/MVCGridConfig.cs index 4127de9..f49cc66 100644 --- a/StockManMVC/App_Start/MVCGridConfig.cs +++ b/StockManMVC/App_Start/MVCGridConfig.cs @@ -106,13 +106,13 @@ namespace StockManMVC .WithHtmlEncoding(false) .WithValueExpression((i, c) => c.UrlHelper.Action("Duplicate", "Items", new { id = i.ID })) .WithValueTemplate(""); - cols.Add("EditLink").WithColumnName("EditLink") - .WithSorting(false) - .WithVisibility(true, false) - .WithHeaderText("") - .WithHtmlEncoding(false) - .WithValueExpression((i, c) => c.UrlHelper.Action("Edit", "Items", new { id = i.ID, mode = "full" })) - .WithValueTemplate(""); + //cols.Add("EditLink").WithColumnName("EditLink") + // .WithSorting(false) + // .WithVisibility(true, false) + // .WithHeaderText("") + // .WithHtmlEncoding(false) + // .WithValueExpression((i, c) => c.UrlHelper.Action("Edit", "Items", new { id = i.ID, mode = "full" })) + // .WithValueTemplate(""); }) .WithRetrieveDataMethod((context) => { diff --git a/StockManMVC/Views/Items/_Edit.cshtml b/StockManMVC/Views/Items/_Edit.cshtml index e9110b5..10ad187 100644 --- a/StockManMVC/Views/Items/_Edit.cshtml +++ b/StockManMVC/Views/Items/_Edit.cshtml @@ -77,9 +77,9 @@