Open
Description
<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
Metadata
Metadata
Assignees
Labels
This issue impacts only small number of customersIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesThis issue describes a behavior which is not expected - a bug.Indicates that the issues may be a good fit for community to help with. Requires work from eng. teamThis label is used by an internal tool