I'm currently using a DisplayTemplate to show a property of my Model:
@Html.DisplayFor( m => m.TheProperty, "myTemplate")
The template output the html for an image, which source depends on whether the Model (TheProperty) is null or not.
Now, I'm replacing all bindings in my View with knockout binding. So it seems I can no longer use DisplayTemplates, can I ? How would I pass the template a Model since now controls are bound to a js ViewModel ?