Possible bug in ASP.NET MVC with form values being replaced

后端 未结 12 682
抹茶落季
抹茶落季 2020-11-29 00:41

I appear to be having a problem with ASP.NET MVC in that, if I have more than one form on a page which uses the same name in each one, but as different types (radio/hidden/e

12条回答
  •  萌比男神i
    2020-11-29 00:53

    Heads-up - this bug still exists in MVC 3. I'm using the Razor markup syntax (like that really matters), but I encountered the same bug with a foreach loop that produced the same value for an object property every single time.

提交回复
热议问题