This is a migrated thread and some comments may be shown as answers.

[Solved] condtional Ajax.action Link in Telerik Grid

0 Answers 70 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
ashes
Top achievements
Rank 1
ashes asked on 30 May 2011, 04:25 PM

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

Tags
Grid
Asked by
ashes
Top achievements
Rank 1
Share this question
or