This question is locked. New answers and comments are not allowed.
Hi,
I have a viewmodel object like this (sample one)
I can bind it to the grid like this, but how to access the product category in the client template (ajax custom binding)
I have a viewmodel object like this (sample one)
public class ProductsViewModel
{
public IEnumerable<
Product
> Products {get; set; }
public string ProductCategory {get; set;}
}
I can bind it to the grid like this, but how to access the product category in the client template (ajax custom binding)
@(Html.Telerik().Grid<
Product
>(Model.Products)
{
}