columns.Bound(p => p.Active).ClientTemplate("\\#if('#=Active#'=='Y') {\\<input type='button' value='OK' />\\}\\#").Width(150).Title("Status");
but condition is taken as string??
#if('Y'=='Y')`enter code here` {
<input type="button" value="OK">
}#