Stop thread and open radConfirm

2 posts, 0 answers
  1. Iosu Buenetxea
    Iosu Buenetxea avatar
    91 posts
    Member since:
    Jan 2008

    Posted 22 Sep 2008 Link to this post


    It is possible to stop the thread and show a RadConfirm to select 'yes' or 'no' inside a function?

    For example:
    -I click in a button to create an XML file
     -when I'm going to create, I detect that this file exist.
    -I want to open a confirm window with a question that says If the user want to remove the XML file and create another one.
    -If the users click in 'yes', I will remove the file and create another.
    -If not I don't do anything.

  2. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 23 Sep 2008 Link to this post

    Hi Juan,

    This task is not directly related to the RadWindow control as it is out of its scope. Our suggestion is to implement the desired logic not by using RadWindow but a standard browser's confirm (window.confirm()) - one you have your code working as expected, it will work with RadWindow's radconfirm() as well.

    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft R3 2016 release webinar banner
Back to Top