This question is locked. New answers and comments are not allowed.
Hello every one,
I want to know how i can disable a custom buttom in my grid.
columns.Command(commands =>
{
commands.Edit();
commands.Custom("ValidApproved")
.Text("Approve Customer")
.DataRouteValues(route => route.Add(o => o.DunsCustomerId).RouteKey("id"))
.HtmlAttributes(new Dictionary<string, object> { { "class", "button-state" } });
});
Best regards,
Helmi
I want to know how i can disable a custom buttom in my grid.
columns.Command(commands =>
{
commands.Edit();
commands.Custom("ValidApproved")
.Text("Approve Customer")
.DataRouteValues(route => route.Add(o => o.DunsCustomerId).RouteKey("id"))
.HtmlAttributes(new Dictionary<string, object> { { "class", "button-state" } });
});
Best regards,
Helmi