Passing data from a View to a controller in ASP.Net MVC
Posted
by kingrichard2005
on Stack Overflow
See other posts from Stack Overflow
or by kingrichard2005
Published on 2010-04-22T17:24:48Z
Indexed on
2010/04/22
17:43 UTC
Read the original article
Hit count: 289
Hello, I have a dictionary I'm passing to a View. I want to be able to pass the values of that dictionary back to a Controller action from this same View. Is there anyway this can be accomplished without using a form? The situation is that I need to be able to pass these back to a controller action that is called when a user clicks an ActionLink from the View, and in my experience an ActionLink cannot be used to submit a values of a form, i.e. I've only been able to submit values of a form using the form's submit button. Unless there's a way to use an ActionLink to submit values in a form.
© Stack Overflow or respective owner