ajax - js object only partially getting passed to controller -


i submitting js object via ajax controller. 3 of 4 children passing passing correctly. can tell why 4th (action) null in controller?

it appears correctly when debugging js. enter image description here

but null when stepping controller. enter image description here

object, post, subject passed correctly.

failed locally me well, know sure "action" not sort of js or c# reserved word... changing model property name "action1" (and in js object) did trick. odd!


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -