I have an MVC.Net application with C#.Net code behind.
I want to use a Viewbag value to determine if some columns in my Kendo UI grid should be hidden or not.
below is a snippet of the code I was trying to use, but it does not work.
How can I make this work?
Thanks in advance,