I'm using a modalpopupextender with C # .NET. When I click the button in my gridview, it calls the popup to edit the required information. When I click on the update or cancel, nothing happens! It's like he does not see codebehind!
I'm using a modalpopupextender with C # .NET. When I click the button in my gridview, it calls the popup to edit the required information. When I click on the update or cancel, nothing happens! It's like he does not see codebehind!
Hello,
If I understand your doubts, to close "Cancel" use the CancelControlID property of ModelPopup, enter the Cancel button ID, it's the easiest way without programming for it. For Refresh, use the OkControlID property, so you program the "Refresh" button so that information goes to the bank, while the OkControlID property ModelPopup closes the Model. To show the user that the update has been done, you can leave a Label right on the page instead of leaving it in the Model for the user to see.
If the case is to close the Modal, hide your modal in the click event of the button:
SeuModal.Hide();