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

Stop thread and open radConfirm

1 Answer 49 Views
Window
This is a migrated thread and some comments may be shown as answers.
Iosu Buenetxea
Top achievements
Rank 1
Iosu Buenetxea asked on 22 Sep 2008, 03:35 PM
Hello!!!

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.

Thanks

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 23 Sep 2008, 11:17 AM
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.


Greetings,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
Iosu Buenetxea
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or