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

radalert on ESC key press

1 Answer 47 Views
Window
This is a migrated thread and some comments may be shown as answers.
Sampada
Top achievements
Rank 1
Sampada asked on 18 Feb 2012, 11:01 AM

Team

 

I am using radalert in my application.

I have a requirement to close radalert box on ESC key press.

I have done some search & found the following link

http://www.telerik.com/community/forums/aspnet-ajax/window/using-radalert-as-server-side-quot-messagebox-quot.aspx

Is it available in DLL V2011.3.1115.40?

Can you please let me know whether it is possible or not & if yes then please let me know How I can implement this?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 21 Feb 2012, 03:36 PM
Hi Sampada,

Pressing the Esc key can close a RadAlert if it is the active RadWindow on the page and the RadWindowManager has the Esc key configured to execute the CloseActiveWindow command. More information on keyboard support can be found in this help article and this online demo.

As for showing a RadAlert from the server - since Q1 2011 we introduced server-side methods that can do this for you without the need to manually inject the JavaScript function. You can see it in action in this online demo.


Kind regards,
Marin
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Window
Asked by
Sampada
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or