Completed
Last Updated: 10 Dec 2013 07:39 by ADMIN
ADMIN
Danail Vasilev
Created on: 17 Oct 2013 14:50
Category: Button
Type: Bug Report
2
FIX the clicking of default RadButton is not raised when Enter key is pressed inside password TextBox
In Q3 2013 the clicking of RadButton is not raised when Enter key is pressed inside a password TextBox and the RadButton is set to be the default button for the form.

The workaround is to put the following JavaScript code below the declaration of the RadButton:

                                        <script type="text/javascript">
                                            Telerik.Web.UI.RadButton.prototype._isInputTypeText = function (element) {
                                                var nodeName = element.nodeName,
                                                  type = element.type;
                                                if (nodeName != "INPUT" || !type) return false;
                                                return type == "text" || type == "password" || type == "email" || type == "number" || type == "url" || type == "search" || type == "tel";
                                            }
                                        </script>
0 comments