Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Edited Issue: Html.Partial or RenderPartial with NULL value gets passed the wrong type [1532]

$
0
0
// Copied from https://aspnet.codeplex.com/workitem/8872
// Vote number : 32

If I render a partial from a view and pass a null value the base model type gets passed rather than the model / value I actually passed. This is counterintuitive and would force people to pepper their views with an extra 3rd parameter 99% of times. More detailed information in the SO question:

http://stackoverflow.com/questions/650393/asp-net-mvc-renderpartial-with-null-model-gets-passed-the-wrong-type

Please fix!!

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>