MVC null model problem
Posted
by femi
on Stack Overflow
See other posts from Stack Overflow
or by femi
Published on 2010-06-10T15:48:27Z
Indexed on
2010/06/10
15:53 UTC
Read the original article
Hit count: 738
hello, i have created two create actions..one to call the create view and the other to process the create view using httppost.
when i call the create view, it gets published correctly , dropdowns and all. the problem is that when i fill out the create form and click on the submit button, i get an error;
Object reference not set to an instance of an object.
My first thoughts are that i am passing a null model to the httppost create action.. How can i check to see if i am passing in a null model to the httppost create action?
thanks
© Stack Overflow or respective owner