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

Radconfirm: redirect on OK as well as on Cancel

1 Answer 40 Views
Window
This is a migrated thread and some comments may be shown as answers.
Ola
Top achievements
Rank 1
Ola asked on 10 Nov 2016, 11:37 AM

Hi,

I coundn't find an information about it, and I'm new in programming, so I thought that maybe someone here could help me.

Is there a possibility of firing an event on clicking OK? I would like to redirect to one page upon clicking on OK and to second page upon clicking on Cancel. It is really necessary for me to do so, could you please help me?

 

Regards,

Ola

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 10 Nov 2016, 12:17 PM

Hi Ola,

The callback function that is passed as an argument to the radconfirm() call provides you with a hook and information on the clicked button: http://docs.telerik.com/devtools/aspnet-ajax/controls/window/alert,-confirm,-prompt-dialogs/radconfirm-dialog.

Regards,

Marin Bratanov
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
Tags
Window
Asked by
Ola
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or