locked
MVC 5 Partial Views custom Validation Retain View State RRS feed

  • Question

  • I have a main form with several partial views.  All the partial views are hanging from one view. I am new to MVC.

    I had got stuck on rendering back the view when the Model is invalid as I have entered some custom validation on the HTTP Action.  I have been able to do the validation, but cannot render the view back as it falls over on object not set error.  The only thing that works is a redirect. but that brings up a new form.

    Please can someone help me with this issue? 

    • Moved by CoolDadTx Monday, November 6, 2017 3:00 PM ASP.NET related
    Monday, November 6, 2017 11:56 AM

All replies

  • https://forums.asp.net/1146.aspx/1?MVC

    Post to MVC forum

    Monday, November 6, 2017 12:20 PM