Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Input > RadMaskedTextBox - focus goes to end in older IE

Not answered RadMaskedTextBox - focus goes to end in older IE

Feed from this thread
  • Mark avatar

    Posted on May 23, 2011 (permalink)

    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.

    Reply

  • Martin Martin admin's avatar

    Posted on May 24, 2011 (permalink)

    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,
    Martin
    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.

    Reply

  • Sergiu avatar

    Posted on Feb 2, 2012 (permalink)

    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!

    Reply

  • Vasil Vasil admin's avatar

    Posted on Feb 7, 2012 (permalink)

    Hi Sergiu,

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

    Site1.Master:
    <%@ 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">
        <title></title>
        <asp:ContentPlaceHolder ID="head" runat="server">
        </asp:ContentPlaceHolder>
    </head>
    <body>
        <form id="form1" runat="server">
        <telerik:RadScriptManager runat="server"></telerik:RadScriptManager>
        <div>
            <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
             
            </asp:ContentPlaceHolder>
        </div>
        </form>
    </body>
    </html>

    WebForm2.aspx:
    <%@ 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>
    <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
      <telerik:RadMaskedTextBox Mask="(###) ###-#### ext####" ID="rmtPhone" runat="server"
        MaxLength="25" Width="120px" SelectionOnFocus="CaretToBeginning" EnableSingleInputRendering="false" />
    </asp:Content>


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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Input > RadMaskedTextBox - focus goes to end in older IE
Related resources for "RadMaskedTextBox - focus goes to end in older IE"

ASP.NET Input Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]