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

Prompt Dialog Box

1 Answer 39 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
El
Top achievements
Rank 1
El asked on 31 Jul 2009, 06:13 AM
I learned how to arise an alert box RadAjaxManager1.Alert() but now i need to prompt the user if he wants to takes a further action?
If yes then do something if no do something else.

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 1
answered on 04 Aug 2009, 07:42 AM
Hello,

You can use the radconfirm for prompting user to perform any action and radconfirm is standard confirm works on the client. Therefore, to perform any actions on the server side after you select Yes/No, you need to make a postback to the server. Checkout the following forum link which discusses how to pass the radconfrm result to server side by performing postback.
radconfirm

[Note: As an alternative you can also perform an ajax request instead of using __doPostBack javaScript built-in function (which is mentioned in the above forum). You can do this by using the RadAjaxManager control and its ajaxRequest function]

-Shinu.
Tags
Ajax
Asked by
El
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Share this question
or