The IAC has created a simple razor view using HTML. Beginform The form contains a table with populated population.
To put everything on the client side, I created an app button that calls Javascript which adds rows to the table with HTML input. I like this approach because it calls the server and allows to cancel all the changes before saving.
I was thinking (it seems very strange) that if I submit, I will have access to the HTML table. If this does not seem to be the case, then do I need to scrap my design (at least adding function) or can I reference the table in the controller? If I can reference it, does it create a potential security problem?
Any help or line example much appreciated.
Not a good perspective! ! But you can use the Request.Form or FormCollection object.
Read the second answer It can help in googleing for the form control agency in the MVC controller
Comments
Post a Comment