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

Radconfirm return value

3 Answers 229 Views
Window
This is a migrated thread and some comments may be shown as answers.
Swapna M
Top achievements
Rank 1
Swapna M asked on 06 Apr 2010, 09:05 AM
Hi,
    Please let me know how to get the return value from radconfirm.

radconfirm(

"Are you sure you want to change the value?", null, 400, 150, null, "Title");

I dont want to use call back function.


Thank You.

 

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 06 Apr 2010, 09:52 AM
Hello Swapna,

In your case, one sugegstion would be using standard confirm and replacing the default confirm dialog with RadWindow confirm as described in the KB Article.
Replacing the default confirm dialog for RadGrid with RadWindow confirm

Thanks,
Princy.
0
Swapna M
Top achievements
Rank 1
answered on 06 Apr 2010, 02:35 PM
Princy,
        Any other better solution?
0
Georgi Tunev
Telerik team
answered on 07 Apr 2010, 08:00 AM
Hi Swapna,

The ClientCallBack function is mandatory if you are using radconfirm(). As noted in the documentation and the demos, RadWindowManager's popups (radconfirm, radprompt, radalert) cannot block the execution thread like the standard browser popups (confirm, prompt, alert) - this is something that cannot be done with JavaScript. That is why with radconfirm and radprompt, we use a ClientCallBack function in which (after user's input) the logic should continue.


Greetings,
Georgi Tunev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Window
Asked by
Swapna M
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Swapna M
Top achievements
Rank 1
Georgi Tunev
Telerik team
Share this question
or