Closing popup form with OK button not working
I have a popup form that contains a grid. I see in the browser's network log that when the popup is opened, the GET method is called, which is immediately followed by a POST back to the server to pull in the data for the grid. Now when I click on OK to close the window, the POST method back to the action that opened the popup form isn't being called, so I can't pass a JSON object back in order to close the window. I could do this just as easily with a normal popup, but I like to have the OK and Cancel buttons at the bottom of the window. How can I get the OK button to simply close the window (it's not actually saving anything)?
asked at 25 Nov 2020
PopupForm Ok button will post the form inside the popup, which you probably don't have, here's a demo for a popup with buttons that can close the popup: https://demo.aspnetawesome.com/PopupDemo#Buttons
at 25 Nov 2020
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our