ASP.Net First inner form in Server Form doesn't POST

前端 未结 2 1604
时光说笑
时光说笑 2020-12-22 07:39
相关标签:
2条回答
  • 2020-12-22 07:43

    Yep, the first question has to be why are you nesting your forms? This is probably what is confusing ASP.Net more than anything. If you remove the outer form does it work?

    0 讨论(0)
  • 2020-12-22 07:47

    The HTML specification does not allow nested forms.

    You might well find that the opening tag of the first inner form is being ignored (depending on browser and standards mode), then your main <form> is being closed by the first inner forms closing tag, and then the subsequent forms are working "as expected".

    0 讨论(0)
提交回复
热议问题