radalert on ESC key press

2 posts, 0 answers
  1. Sampada
    Sampada avatar
    44 posts
    Member since:
    Feb 2012

    Posted 18 Feb 2012 Link to this post



    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


    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?

  2. Marin Bratanov
    Marin Bratanov avatar
    5922 posts

    Posted 21 Feb 2012 Link to this post

    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,
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top