1
I am using a modalpopupextender with C# .NET. When I click on my gridview button, it calls the popup to edit the necessary information. When I click on update or cancel, nothing happens! It’s like he doesn’t see the codebehind!
1
I am using a modalpopupextender with C# .NET. When I click on my gridview button, it calls the popup to edit the necessary information. When I click on update or cancel, nothing happens! It’s like he doesn’t see the codebehind!
2
Hello,
If I understand your doubt, to close "Cancel" use the property Cancelcontrolid of Modelpopup, inform the ID of the cancel button, it is the easiest way without having to do programming for this. To Update, use the property "Okcontrolid", this way you program the "Update" button so that the information goes to the bank, while the property "Okcontrolid" from Modelpopup closes Model. To show the user that the update was made, you can leave a Label directly on the page instead of leaving it in the Model for the user to view.
-2
If the case is to close Modal, hide your modal in the button click event:
SeuModal.Hide();
I tried that old! But it’s not working either!
Browser other questions tagged c# asp.net webforms
You are not signed in. Login or sign up in order to post.
So I am using these properties, what happens is that they are not working! It neither updates my gridview nor cancels the modalpopup!
– Maycon Tavares
If you put a breackpont in the update button method, does it recognize that the method was called? Depending on the way it was programmed, check if you have not forgotten to put databind() to update the grid.
– S. Ca