EmptyMessage appears with AutoFill on in Chrome

11 posts, 0 answers
  1. Al
    Al avatar
    5 posts
    Member since:
    Nov 2011

    Posted 15 Nov 2012 Link to this post

    When testing our new web site in Chrome we found that the EmptyMessage is not clearing when the field is auto filled with information. We have an email field and a password field on a profile page and these fields are being auto filled. The problem is that the EmptyMessage in each of these fields are not cleared.

    Server:
    Windows 2008 R2
    IIS7.5

    Site:
    .Net 4.5
    Telerik.Web.UI 2012.3.1016.45

    Environment:
    Windows 8
    Chrome 23.0.1271.64
  2. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 20 Nov 2012 Link to this post

    Hello Al,

    There is a bug in the autofill of RadTextBox and it is way complicated to be fixed using the current design of the control. The Browser populate the values without firing any event and the client side object of the input is not aware that the text was changed. This is the reason that the empty message is not updated and the value will be not submitted.
    We are working on a fix for this, meanwhile as an alternative you could use RadInputManager with asp:TextBox for your login forms.

    Kind regards,
    Vasil
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. moegal
    moegal avatar
    273 posts
    Member since:
    Jul 2007

    Posted 25 May 2013 Link to this post

    has this been fixed?
  5. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 27 May 2013 Link to this post

    Hello moegal,

    Part of the problem has been fixed. The RadTextBox works with the browser autocomplete, autofill, and use their value for populating. However in some cases the empty message can be filled by the browser inside the textbox. When the browser populates this message, we can't tell that is is the empty text, since the design of the  RadTextBox supports the input to have value the same as the empty message.

    Regards,
    Vasil
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  6. moegal
    moegal avatar
    273 posts
    Member since:
    Jul 2007

    Posted 27 May 2013 Link to this post

    Vasil,

    what version has the fix? 

    Thanks, Marty

  7. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 27 May 2013 Link to this post

    Hello Marty,

    It was fixed in Q1 2013 SP1

    Regards,
    Vasil
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  8. moegal
    moegal avatar
    273 posts
    Member since:
    Jul 2007

    Posted 27 May 2013 Link to this post

    thank you!
  9. Shawn Clabough
    Shawn Clabough avatar
    17 posts
    Member since:
    Jun 2004

    Posted 26 Jul 2013 Link to this post

    I was still having an issue with autofill values not getting registered with RadTextBox controls, so I had to implement the following hack on the submit button's OnClientClicked event.

    function ClickAllText() {
        //Hack so autofill from browser triggers events to save the values
        $(':text').focus();
    }

    v.2013.2.611.40
  10. Derek
    Derek avatar
    4 posts
    Member since:
    Sep 2011

    Posted 06 Aug 2013 Link to this post

    Can you verify this bug was fixed in V 2013.2.611.45.  We're still having an issue with Chrome and autofill forms.

  11. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 09 Aug 2013 Link to this post

    Hi Derek,

    Yes this bug was fixed, but in the Q2 2013 SP1, because of another fixes in RadInputControl, some similar bug occurred that we was not able to catch at that moment. Shawn's workaround works currently.
    For the upcoming release, or even in our next internal build the autofill work correct and the value will be submitted correctly.

    Regards,
    Vasil
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  12. Andrew
    Andrew avatar
    1 posts
    Member since:
    Sep 2013

    Posted 29 Oct 2013 Link to this post

    I have tried Shawn's solution but have not been able to get it to work.  I have code behind on the OnClick event and I have the javascript on the OnClientClicked property.  The javascript never gets executed even if I remove the OnClick event.  Any help will be appreciated.

    Andrew

    UPDATE:  Please ignore this post.  I thought I had entered the OnClientClicked property but I only had OnClientClick.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017