This is a migrated thread and some comments may be shown as answers.

Custom Popup Edit Form Questions

1 Answer 99 Views
Grid
This is a migrated thread and some comments may be shown as answers.
TS IT DEVELOPER
Top achievements
Rank 1
TS IT DEVELOPER asked on 23 Sep 2008, 08:13 PM
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.

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 24 Sep 2008, 07:13 AM
Hi Luke,

If these buttons CommandName property is set to "Update" and "Cancel" the grid will automatically close the popup and will fire appropriate command which can be handled in ItemCommand.

Kind regards,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
TS IT DEVELOPER
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or