I’ve created a simple Razor view using Html.BeginForm. The form contains a table populated from the controller.
To keep everything client side, I created an add button that calls javascript which adds rows to the table with html inputs. I like this approach since it limits calls to the server and allows for a cancel of all changes prior to a save.
I was thinking (it seems quite ignorantly) that upon submit I would have access to the html table. That does not seem to be the case. So do I need to scrap my design (at least the add function) or can I reference the table (page’s html) in the controller? If I can reference it, does this create a potential security issue?
Any help or on line example much appreciated.