Pressing Enter Opens Rad Window

2 posts, 0 answers
  1. Richard
    Richard avatar
    11 posts
    Member since:
    Jul 2008

    Posted 25 Mar 2009 Link to this post

    The JavaScript placed on the page by the window seems to detect any time the user presses the enter key and opens the window.... Since I have search field on that page this causes a problem.  Suggestions?

     function RadWindowprompt_detectenter(id, ev, input)  
                            if (!ev) ev = window.event;                  
                            if (ev.keyCode == 13)  
                                var but = input.parentNode.parentNode.getElementsByTagName("A")[0];                           
                                if (but)  
                                    if (;  
                                    else if (but.onclick)  
                                        but.focus(); var click = but.onclick; but.onclick = nullif (click);                              
                               return false;  
                            else return true;  
  2. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 26 Mar 2009 Link to this post

    Hi Richard,

    Could you please provide more details about your exact setup and code logic? I am asking you this because you are the first to report such issue and we cannot reproduce it locally.
    It will be best to open a support ticket and send us a small sample page that shows the problem - we will check it and do our best to help.

    Best wishes,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Back to Top