This is a migrated thread and some comments may be shown as answers.

SelectionOnFocus

5 Answers 126 Views
Input
This is a migrated thread and some comments may be shown as answers.
Lenny_shp
Top achievements
Rank 2
Lenny_shp asked on 04 Mar 2010, 03:05 PM
Problem in 2009.3.1210.35

I have RadTextBox without specifying SelectionOnFocus but it seems it's behaving like as if SelectionOnFocus  is set to CaretToEnd.
Setting SelectionOnFocus to None does not fix the issue.

Update:  Problem is fixed in  2009.3.1503.35 .

5 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 04 Mar 2010, 03:38 PM
Hello Leonid,

I followed your scenario in order to replicate the issue with version 2009.3.1210.35, but to no avail. Please examine the attached working project and let me know what is the difference in your case.

Kind regards,
Pavlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Lenny_shp
Top achievements
Rank 2
answered on 04 Mar 2010, 07:46 PM

0
Pavlina
Telerik team
answered on 05 Mar 2010, 12:27 PM
Hello Leonid,

Could you please confirm that you have tested the project, which I sent you in the previous post? It is working properly on my side under IE8 and FF 3.6.

Kind regards,
Pavlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Lenny_shp
Top achievements
Rank 2
answered on 05 Mar 2010, 02:39 PM
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="test.aspx.vb" Inherits=".test" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!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"
    <div> 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
        </telerik:RadScriptManager>       
        <telerik:RadTextBox ID="RadTextBox1" runat="server" SelectionOnFocus="None"
        </telerik:RadTextBox> 
    </div> 
    </form> 
</body> 
</html> 
I created a test page and it happens in IE8.    It happens on RadDatePicker as well.
It does not occur on RadEditor.  

To reproduce the issue:  Type in some  characters, then TAB off.   then use the mouse to try to highlight the whole text from the end of the text.   It'll get focus in the textbox but will not highlight.   You have to perform the operation the 2nd time for it to highlight.

If you tried to highlight by clicking the very beginning of the text then whole text gets highlighted.

I just tried it with 2009.3.1503.35 and the problem no longer exists in this version!
0
Pavlina
Telerik team
answered on 10 Mar 2010, 02:54 PM
Hi Leonid,

Indeed you are right and the problem exists in 2009.3.1210.35 version of RadControls for ASP.NET AJAX. However, it is fixed in the next versions.

Kind regards,
Pavlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Input
Asked by
Lenny_shp
Top achievements
Rank 2
Answers by
Pavlina
Telerik team
Lenny_shp
Top achievements
Rank 2
Share this question
or