Hi,
I am using MVC Contrib grid. Based on the condition I want my column rows to be formatted. eg. If my item name is show I will style that cell
in color red and will provide user link on which user can click and navigate to another page.
Currently I am using followin syntax which is giving me exected result except for Link. How to include Action Link along with the style...Please help..its urgent...
column.For(jobs => jobs.Status).Attributes(jobs =>
{
if (jobs.Item.Status == "Show")
{
return new Dictionary<string, object> {{ "style", "color:red" } }; // I need to include action link here
}
return new Dictionary<string, object>();
});
Best Regards,
Rohan Laghate