How can i do this on one page i use partial page logic but model cannot pass and on foreach loop error:Object reference not set to an instance of an object. plzz tell me i use @{Html.RenderPartial("~/Views/Shared/_Partialwebgrid.cshtml",Model);} to call a view but my model name is Inventory.............Can anyone help

Go to the complete details ...