Click here to Skip to main content
15,889,861 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

When i submit the form in MVC. In the postback the model properties becoming null.

Please help me out why???

Thanks in advance.
Pavan
Posted
Comments
GateKeeper22 1-Dec-11 12:56pm    
Can you post the code for the page and controller method where the value is null? It could be passing null for a bunch of different reasons. For example Name property on control is different than on the Model or the control on the form is not a input control.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900