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

<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? Need a Dialogresult to continue.

This will return result, better create a handler for the button click event where you can place your code.

Thanks, i get it. :+1: :+1: :+1: