I want to add delete button on mvc grid ...
<button data-link-adress = "@ Url.Action (" DeleteGorev "," Duty ", new {x.Id})" class = "btn btn-warning" > <i class = "fa fa-trash"> </i> Delete </button> col.Add (). Encoded (false) .Sanitized (false) .RenderValueAs (html => { string htmlStr = "..........."; return MvcHtmlString.Create (htmlStr); }). SetWidth (100);
htmlStr what do we add?
1.4m articles
1.4m replys
5 comments
56.9k users