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

RadAlert dont rise close event when is closed with esc key

1 Answer 45 Views
Window
This is a migrated thread and some comments may be shown as answers.
desarrollo_cer
Top achievements
Rank 1
desarrollo_cer asked on 03 Nov 2012, 07:09 PM
Hi everyone i hope this is the right forum for my question.

i have a radalert, when is closed i want to do some math in server side, so i did this

on server side

RadWindowManager1.RadAlert(Resources.Mensajes.exitoReseteando, 300, 150, Resources.Mensajes.tituloMensajeExito, "alertCallBackFn", "../Styles/Images/ok.png");



function on asp page

<script language="javascript" type="text/javascript">
 
                                function alertCallBackFn(arg) {
                                    __doPostBack("<%= btnEnviarLogin.UniqueID %>", "");
                                }
                            </script>


when the rad alert is closed with the mouse or with the enter key, it does great the job, the function is executed, but when is closed with the esc key, it doesn't do anything

can you help me ponting me which one is the event i have to catch

thanks in advance

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 05 Nov 2012, 12:53 PM
Hello Javier,

I have tried this scenario and it appears to be working fine with me. What I also suggested in the support ticket is that you add a small timeout when calling the __doPostBack() function. If you still have any other issues with the RadAlert control I advise that we resolve them in the ticket and once we reach a conclusion you could post the final result here to help the community.


Regards,
Marin Bratanov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Window
Asked by
desarrollo_cer
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or