affected-fewarea-mvcbughelp wantedseverity-major
描述
<partial name="view" view-data-additionalItem="abc" />
The IDictionary<string,object> has a very helpful way to add item , But this line of code throw exception because view-data is null .
I suggestion to either support this razor syntax or add a new attribute to add addiontal item to the partial view and not effect the current view‘s ViewData