Timeline for What is a NullReferenceException, and how do I fix it?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 16, 2016 at 8:35 | history | edited | Peter Mortensen | CC BY-SA 3.0 |
Copy edited. Removed meta information (this belongs in comments).
|
Jul 30, 2015 at 8:22 | history | made wiki | Post Made Community Wiki by ChrisF♦ | ||
Jul 27, 2015 at 11:47 | history | edited | Travis Heeter | CC BY-SA 3.0 |
Clarification
|
Jul 27, 2015 at 11:44 | comment | added | Travis Heeter |
The error occurred in MyOtherView.cshtml, which I did not include here, because the Model was not being properly sent in (it was Null ), so I knew the error was with how I was sending the Model in.
|
|
Jul 24, 2015 at 13:56 | comment | added | John Saunders | Also, please show which line threw the exception, and why. | |
Jul 24, 2015 at 13:55 | comment | added | John Saunders |
You wanted Html.Partial , not @Html.Partial
|
|
Jul 24, 2015 at 11:15 | history | edited | Travis Heeter | CC BY-SA 3.0 |
Clarification on foreach loop structure.
|
Jul 24, 2015 at 11:09 | history | answered | Travis Heeter | CC BY-SA 3.0 |