RadMaskedTextBox - focus goes to end in older IE

4 posts, 0 answers
  1. Mark
    Mark avatar
    2 posts
    Member since:
    Apr 2011

    Posted 23 May 2011 Link to this post

    We're having issues with IE6 and IE7 and the MaskedTextBox It seems that the user can type in one character and the cursor jumps to the end. In IE8 and FF, it works just fine.

    I searched the forums, and only found one possible solution, and it didn't work. We're using build 413.35

    Here is the markup code:

    <telerik:RadMaskedTextBox Mask="(###) ###-#### ext####" ID="rmtPhone"
                 runat="server" MaxLength="25" Width="120px"
    SelectionOnFocus="CaretToBeginning" />
    We've tried SelectionOnFocus="None" and "CaretToBeginning" But I'm not sure that's the problem since it works ON FOCUS to the next charcter, it just doesn't like more than one character entered at a time for older IE browsers.
  2. Martin
    Martin avatar
    810 posts

    Posted 24 May 2011 Link to this post

    Hello Mark,

    Indeed the reported issue can be observed in the 2011.1.413 release (Q1 2011 SP1). The good news is that the problem is already fixed in the 2011.1.519 (Q1 2011 SP2) version of the controls. In addition, this release include several other bug fixes for RadMaskedTextBox. My suggestion is to upgrade to it and verify whether any other issues exist.

    I hope this helps.

    All the best,
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. DevCraft R3 2016 release webinar banner
  4. Sergiu
    Sergiu avatar
    16 posts
    Member since:
    Jun 2012

    Posted 02 Feb 2012 Link to this post

    Hey guys, I am experiencing this exact same issue. I am using the Q3 2011 SP1 release. I can confirm that this issue only happens when the RadMaskedTextBox is in a ContentPlaceHolder of a MasterPage. Stand alone pages don't seem to exhibit this problem. Any help is greatly appreciated!
  5. Vasil
    Vasil avatar
    1541 posts

    Posted 07 Feb 2012 Link to this post

    Hi Sergiu,

    I used this code, and it is working correctly in IE7. Could you tell us what is different in your scenario?

    <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site1.master.cs" Inherits="WebApplicationForTests.Site1" %>
    <%@ 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">
    <head runat="server">
        <asp:ContentPlaceHolder ID="head" runat="server">
        <form id="form1" runat="server">
        <telerik:RadScriptManager runat="server"></telerik:RadScriptManager>
            <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">

    <%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true"
      CodeBehind="WebForm2.aspx.cs" Inherits="WebApplicationForTests.WebForm2" %>
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
      <telerik:RadMaskedTextBox Mask="(###) ###-#### ext####" ID="rmtPhone" runat="server"
        MaxLength="25" Width="120px" SelectionOnFocus="CaretToBeginning" EnableSingleInputRendering="false" />

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top