Hi
i want to display a link in Grid field. now i have a IsReady Bool field in Model, on Grid read action model fetch with values.
now if this field is true then i want to show this link or if false then i want to hide it.
i want to use razor condition like this is @(IsReady) ? Style:" " : Style: "display:none" but i can't use because there is "" ' ' error in kendo grid so can any one guide me .
my code is "<a href='' #= @("#=IsReady#").ToString().ToLower() ? 'style=\"display:none;\"' : '' #>link</a>"
Regards,
vinit
i want to display a link in Grid field. now i have a IsReady Bool field in Model, on Grid read action model fetch with values.
now if this field is true then i want to show this link or if false then i want to hide it.
i want to use razor condition like this is @(IsReady) ? Style:" " : Style: "display:none" but i can't use because there is "" ' ' error in kendo grid so can any one guide me .
my code is "<a href='' #= @("#=IsReady#").ToString().ToLower() ? 'style=\"display:none;\"' : '' #>link</a>"
Regards,
vinit