I have a Telerik ASP.NET MVC 2.0 Grid on a partialview . Here in this Grid there is column say " Status" having values as " active " & " inactive". I want to show a delete link in only those rows having Status Column Value as " Active ".
I am rendering this partialview on my main View having a ViewModel and my partialview is rendered using a descriptor .
I tried to use a ClientTemplate / Template but I am not able to put a condtional check before displaying a delete Link . How to achieve this using C# 4.0 ASP.NET4.0 code . I need some sample code . Its very urgent so your help is deeply appreciated .Thanks in advance for going through my problem. I am using EF4