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

Opening Rad confirmation Pop up from the server side

3 Answers 136 Views
Window
This is a migrated thread and some comments may be shown as answers.
Karthick Purushothaman
Top achievements
Rank 1
Karthick Purushothaman asked on 17 Jun 2009, 11:01 AM

Hi,

I want to open a Rad confirmation popup window resulting "Yes" or "No" from the server side. .
From the server side, on the button click i would like to open the rad confirmation popup window. Depending on the result (Yes/No) certain operations i have to implement. But this have to done from the server side. so i need to open the popup from the server sdie

Can any one help me to solve this problem.

Thanks & Regards,
Sushanth Mathew  

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 17 Jun 2009, 01:34 PM
Hi Karthik,

Radconfirm just as the 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 show radconfrm from server side.
radconfirm

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

Thanks,
Shinu
0
Karthick Purushothaman
Top achievements
Rank 1
answered on 17 Jun 2009, 02:56 PM

Hi,

i checked with the code that you send but it didnt solve my issue.

In my case the controls are dynamically created and need to fire the Rad confirmation pop up window. here is the code am using for that.

 

ImageButton

 

btnCancel = new ImageButton();

 

btnCancel.Attributes.Add(

"onClick", "confirmSaveDuplicatePerson()"); 

I can able to call the Java script ("confirmSaveDuplicatePerson()") but am not getting the rad pop up confirmation window.

 

 



Thanks & Regards,
Sushanth Mathew

0
Fiko
Telerik team
answered on 18 Jun 2009, 06:16 AM
Hi Karthick,

For your convenience I have implemented the desired functionality in a demo project and attached it to the thread. I added some comments in it, but in case you need any further assistance, please do not hesitate to contact us again.


Regards,
Fiko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Window
Asked by
Karthick Purushothaman
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Karthick Purushothaman
Top achievements
Rank 1
Fiko
Telerik team
Share this question
or