I have a several columns bound to a list of objects.
What's the simplest way to define a re-usable ClientTemplate using razor?
Something like this?
column.Bound(e => e.MyList).ClientTemplate(Html.Partial("MyPartialView", "#=MyList#").ToHtmlString()); //doesn't compile
Where MyPartialView uses MyList as the model for its page?
Thanks