Hello Saroj,
IF statements, which depend on datasource values can be used only inside column templates.
http://docs.kendoui.com/getting-started/using-kendo-with/aspnet-mvc/helpers/grid/faq#how-do-i-have-conditional-logic-in-a-column-client-template?
Moreover, IF statements, which depend on values that are retrieved and available only client-side as a result of Ajax binding cannot be used in a source code, which is evaluated on the server.
Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework -
download Kendo UI now!