When I configure grid from Controller then Display button for Edit & Delete, But I wants to display image for Edit & Delete. So please help me “ How to display image for Edit & Delete”. My Source Code is below. Now what I wants to change in my code.
public ActionResult Index()
{
var columns = new[]
{
new GridColumnSettings
{
Member = "RoleName",
Width = "200px" ,
},
new GridColumnSettings
{
Member = "RoleGroupID",
Width = "130px",
Title ="RoleGroupName"
},
new GridColumnSettings
{
Member = "IsActive",
Width = "130px"
},
new GridCommandColumnSettings
{
Commands =
{
new GridEditActionCommand(),
new GridDeleteActionCommand()
},
Width = "200px",
Title = "Commands"
}
};
ViewData["Columns"] = columns;
ViewBag.rList = rms.GetRoles();
ViewBag.RoleGroupList = RoleList();
return View();
}
