This example demonstrates how to show a delete confirmation dialog using PopupControl. In this example, GridView is created with a custom button; the CustomButtonClick event is handled. PopupControl is shown on CustomButtonClick event and if the PopupControl's "Yes" button is clicked, then the DeleteRow method is called.
See also:
ASPxGridView - How to show a confirmation dialog using ASPxPopupControl
Added By: Carlton Guc at: 3/3/2016 6:38:41 AM I am trying to do something similar to this. I am trying to modify to what I need but I am a little stuck. In my controller I have a For Each loop that builds an email message to send. I want a popup for each that confirms whether to send the email or not. I think this would work but I need to call the popup from the code and pass a model into it. Can you please show me an example of that?Added By: Pavlo (DevExpress Support) at: 3/3/2016 7:47:08 AM
See also:
ASPxGridView - How to show a confirmation dialog using ASPxPopupControl
Question Comments
Added By: Carlton Guc at: 3/3/2016 6:38:41 AM I am trying to do something similar to this. I am trying to modify to what I need but I am a little stuck. In my controller I have a For Each loop that builds an email message to send. I want a popup for each that confirms whether to send the email or not. I think this would work but I need to call the popup from the code and pass a model into it. Can you please show me an example of that?Added By: Pavlo (DevExpress Support) at: 3/3/2016 7:47:08 AM
Hello,
To process your recent post more efficiently, I created a separate ticket on your behalf: T352650: PopupControl - How to send a model with the confirmation to the server. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.