I'm running into a few roadblocks trying to use the PopUp edit mode in my grid. I've linked it up to a WebUserControl, and it renders just fine. However, at the bottom of the user control are two ASP buttons, one to "Send" and another to "Cancel" (think: email client new message). If the user clicks on the Cancel button, I just want to close the PopUp. If the user clicks Send, I want to post back to the server, do some work, and then close the PopUp. It seems like this might be pushing the bounds of what the PopUp can do, but perhaps there's a solution out there? I've tried the solution in this thread for closing the PopUp on the ItemCommand event, but that doesn't seem to be working.