Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

ASPxGridView - How to show a confirmation dialog using ASPxPopupControl

$
0
0

This example demonstrates how to show a delete confirmation dialog using ASPxPopupControl. In this example, ASPxGridView is created with a custom button; the ASPxClientGridView.CustomButtonClick event is handled. ASPxPopupControl is shown on ASPxClientGridView.CustomButtonClick and if the ASPxPopupControl's "Yes" button is clicked, then the ASPxClientGridView.DeleteRow method is called.

See also: How to implement a delete confirm dialog with a "don't ask me again" option

GridView - How to show a confirmation dialog using PopupControl 

Question Comments

Added By: Bala Chinni at: 7/24/2014 5:08:14 AM    

Hi,
I am new to DevExpress.
When I am implementing this code as it is with my database, row deletion is happening from second click onwards, I mean for the first click no deletion of the row is happening.Please help me

Added By: Paul (DevExpress Support) at: 7/24/2014 5:44:55 AM    

Hello,

To process your recent post more efficiently, I created a separate ticket on your behalf: T133290: ASPxGridView - When row deleting confirmation dialog is enabled, the deleting occurs on a repetitive mouse click after closing the confirmation dialog. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.


Viewing all articles
Browse latest Browse all 7205

Trending Articles