Radconfirm issue

Thread is closed for posting
4 posts, 0 answers
  1. G
    G avatar
    7 posts
    Member since:
    Jul 2013

    Posted 19 Jul 2013 Link to this post

    Hi,

    I am using radconfirm() in my asp.net application as javascript code. It is running ok.
    But the problem is that when the radconfirm message shows then I  do not want the user to close/refresh browser, user will only be able to do ok/cancel button of the radconfirm box. Is it possible with radconform.
    I know that if i can use only javascript confirm then I can find the solution.

    Thanks,

    GS

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 19 Jul 2013 Link to this post

    Hi GS,

    RadConfirm does not automatically redirect/refresh the browser. When the dialog is closed (with the OK, Cancel or [x] button) the callback function is called and then custom code written by the developer takes over. You can find more information on using the dialog in the following resources:
    http://www.telerik.com/help/aspnet-ajax/window-dialogs-confirm.html
    http://demos.telerik.com/aspnet-ajax/window/examples/confirmserverclicks/defaultcs.aspx

    Regards,
    Marin Bratanov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. G
    G avatar
    7 posts
    Member since:
    Jul 2013

    Posted 21 Jul 2013 Link to this post

    Hi,

    My requirement is that when radconfirm popups at that time user should not be able to click on the browser close button, user first need to click on the radconfirm ok/calcel button after that they will be able to click on the browser close button. So it will be like a modal window for radconform.

    Thanks,

    GS


















  5. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 22 Jul 2013 Link to this post

    Hi,

    As the description of the demo I linked explains - blocking the browser thread with JavaScript is not possible, so this requirement cannot be achieved with RadConfirm.


    Regards,
    Marin Bratanov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top