Hi,
We have a small issue when focus is set on a RadNumericTextBox on the client when using Firefox.
Source:
When pressing the "Set Focus" button, the input gets focus and selects all the text.
So far everything is OK, but when clicking in the textbox after this (to edit the value at the clicked position), nothing happens (seems to select all text again).
But when clicking the texbox a second time, the expected behavior happens (all text is not selected and the cursor is at the clicked position).
This only happens in Firefox, in IE it is working as expected!
Regards
Andreas
We have a small issue when focus is set on a RadNumericTextBox on the client when using Firefox.
Source:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="input.aspx.vb" Inherits="TestaTredjepartWeb.input" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
></
title
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
asp:ScriptManager
ID
=
"s"
runat
=
"server"
>
</
asp:ScriptManager
>
<
div
>
<
telerik:RadNumericTextBox
ID
=
"aa"
runat
=
"server"
Value
=
"10000000"
>
</
telerik:RadNumericTextBox
><
br
/><
br
/>
<
asp:Button
ID
=
"btnSetFocus"
runat
=
"server"
Text
=
"Set Focus"
OnClientClick
=
"$find('aa').focus(); return false;"
/>
</
div
>
</
form
>
</
body
>
</
html
>
When pressing the "Set Focus" button, the input gets focus and selects all the text.
So far everything is OK, but when clicking in the textbox after this (to edit the value at the clicked position), nothing happens (seems to select all text again).
But when clicking the texbox a second time, the expected behavior happens (all text is not selected and the cursor is at the clicked position).
This only happens in Firefox, in IE it is working as expected!
Regards
Andreas