2012-02-04 40 views

回答

1

我假設簽名將允許IHtmlString。未經測試。

grid.Column(
     format: (item) => Html.Raw("<a href='/delete/" 
           + item.ID 
           + "' class='delete-button'>Delete</a>"), 
     style: "column-action" 
);