Hello telerik team.
I'm using radtextbox with required validator.
and there has a problem at the google chrome(version 18.0.1025.142 m)
When I selected all text in the radtextbox and delete ( ex: press "del" key or backspace key)
and move focus to any other controls.
then the deleted text was recovered.
and i found this problem related in SetFocusOnError property when value is "true"
I'm using latest 2012.1.403.40 version.
please check my code for any mistakes
I'm using radtextbox with required validator.
and there has a problem at the google chrome(version 18.0.1025.142 m)
When I selected all text in the radtextbox and delete ( ex: press "del" key or backspace key)
and move focus to any other controls.
then the deleted text was recovered.
and i found this problem related in SetFocusOnError property when value is "true"
I'm using latest 2012.1.403.40 version.
please check my code for any mistakes
<%@ Page Language="VB" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="RadControlsWebApp5._Default" %>
<!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
>
<
telerik:RadStyleSheetManager
id
=
"RadStyleSheetManager1"
runat
=
"server"
/>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
>
<
Scripts
>
<%--Needed for JavaScript IntelliSense in VS2010--%>
<%--For VS2008 replace RadScriptManager with ScriptManager--%>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.Core.js"
/>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.jQuery.js"
/>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.jQueryInclude.js"
/>
</
Scripts
>
</
telerik:RadScriptManager
>
<
script
type
=
"text/javascript"
>
//Put your JavaScript code here.
</
script
>
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
</
telerik:RadAjaxManager
>
<
div
>
<
telerik:RadTextBox
runat
=
"server"
ID
=
"textbox1"
SelectionOnFocus
=
"SelectAll"
text
=
"please delete me"
></
telerik:RadTextBox
>
<
telerik:RadTextBox
runat
=
"server"
ID
=
"textbox2"
SelectionOnFocus
=
"SelectAll"
text
=
"please delete me"
></
telerik:RadTextBox
>
</
div
>
<
asp:RequiredFieldValidator
ID
=
"RequiredFieldValidatorRadTextBoxPrice"
runat
=
"server"
Display
=
"None"
SetFocusOnError
=
"true"
ErrorMessage
=
""
ControlToValidate
=
"textbox1"
></
asp:RequiredFieldValidator
>
<
asp:RequiredFieldValidator
ID
=
"RequiredFieldValidator1"
runat
=
"server"
Display
=
"None"
SetFocusOnError
=
"true"
ErrorMessage
=
""
ControlToValidate
=
"textbox2"
></
asp:RequiredFieldValidator
>
<
asp:ValidationSummary
ID
=
"ValidationSummarySave"
runat
=
"server"
ShowSummary
=
"false"
ShowMessageBox
=
"true"
ValidationGroup
=
"Product"
/>
</
form
>
</
body
>
</
html
>