I need to post data that I want to receive as Dictionary in my controller. How I can send it through $.ajax so that I may receive it Dictionary
Asked
Active
Viewed 82 times
0
-
Create an associative array and send it as JSON. In your controller deserialize it to your type of dictionary. – Andrei V Jan 27 '14 at 11:00
-
possible duplicate of [ASP.NET MVC Binding to a dictionary](http://stackoverflow.com/questions/5191303/asp-net-mvc-binding-to-a-dictionary) – fejesjoco Jan 27 '14 at 11:05
-
Also be aware of http://stackoverflow.com/questions/21366797/passing-dictionarystring-object-to-mvc-controller – David Jan 27 '14 at 12:20