Radconfirm: redirect on OK as well as on Cancel

2 posts, 0 answers
  1. Ola
    Ola avatar
    1 posts
    Member since:
    Nov 2016

    Posted 10 Nov 2016 Link to this post

    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

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3710 posts

    Posted 10 Nov 2016 Link to this post

    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.
Back to Top