The second Modal in my ASPX file doesn't Post when clicking submit button

后端 未结 1 417
执笔经年
执笔经年 2021-01-17 06:02

I have an ASPX file that contains two modals (myModal and addModal) and a gridview that has buttons calling each of these. I am having trouble with the second modal when ope

相关标签:
1条回答
  • 2021-01-17 06:56

    The problem was I had 3 sets of form tags in my page. One for the overall page and one each for the two Bootstrap Modals I had that opened up from button clicks. The solution came when I removed the form tags from the bootstrap modals. Then all button clicks from the modals worked properly and submitted the data.

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