jeudi 18 février 2016

Access data from model after submit in .NET MVC 4 WebApplication using Razor syntax

I have a one page web application that has a few textboxes, readonly text fields and one webgrid. All of this is filled at the beginning when I have all the data from database. Then I hit the submit button and in the application I have only the data that was in textboxes in my model. The whole rest is lost (text fields and webgrid data) and I have no more access to it while I need it. How can I access all my model data that I had in the beginning after submitting the form?

Any help would be very appreciated!

Aucun commentaire:

Enregistrer un commentaire