where can i put my code to somewhere if DialogService.Confirm' OkButton is pressed? #1331

Closed
opened 2026-01-29 17:52:12 +00:00 by claunia · 1 comment
Owner

Originally created by @huxinshuo on GitHub (Aug 4, 2024).

<RadzenButton Text="Confirm dialog" ButtonStyle="ButtonStyle.Secondary" 
    Click=@(args => DialogService.Confirm("Are you sure?", "MyTitle", new ConfirmOptions() { OkButtonText = "Yes", CancelButtonText = "No" })) />

where can i put my code to somewhere if DialogService.Confirm' OkButton is pressed?

Originally created by @huxinshuo on GitHub (Aug 4, 2024). <RadzenButton Text="Confirm dialog" ButtonStyle="ButtonStyle.Secondary" Click=@(args => DialogService.Confirm("Are you sure?", "MyTitle", new ConfirmOptions() { OkButtonText = "Yes", CancelButtonText = "No" })) /> where can i put my code to somewhere if DialogService.Confirm' OkButton is pressed?
Author
Owner

@akorchev commented on GitHub (Aug 4, 2024):

Please use our forum for questions.

@akorchev commented on GitHub (Aug 4, 2024): Please use our [forum](https://forum.radzen.com) for questions.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1331