how to use 2 model in a views (not use controller, not edit model).
Geschrieben: 14 July 2016 - 10:53
Geschrieben: 14 July 2016 - 11:38
Schöne Grüße aus Düsseldorf,
Geschrieben: 15 July 2016 - 03:30
In the action method you can pass a reference of the second (third etc.) model through ViewBag or ViewData into your view.Or you can use the property "CustomProperties" of the first (main) model to pass any extra data into your view.
thanks for your answer. but all of them need edited on Controller or Model. While i designing, I only changed on View. Is there any way use 2 model on a view just edit Viewer?