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

EmptyMessage appears with AutoFill on in Chrome

10 Answers 145 Views
Input
This is a migrated thread and some comments may be shown as answers.
Al
Top achievements
Rank 2
Al asked on 15 Nov 2012, 04:30 PM
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

10 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 20 Nov 2012, 12:09 PM
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.
0
moegal
Top achievements
Rank 1
answered on 26 May 2013, 12:31 AM
has this been fixed?
0
Vasil
Telerik team
answered on 27 May 2013, 06:30 AM
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.
0
moegal
Top achievements
Rank 1
answered on 27 May 2013, 10:46 AM
Vasil,

what version has the fix? 

Thanks, Marty

0
Vasil
Telerik team
answered on 27 May 2013, 11:17 AM
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.
0
moegal
Top achievements
Rank 1
answered on 27 May 2013, 12:32 PM
thank you!
0
Shawn Clabough
Top achievements
Rank 1
answered on 26 Jul 2013, 11:43 PM
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
0
Fred
Top achievements
Rank 1
answered on 07 Aug 2013, 02:47 AM
Can you verify this bug was fixed in V 2013.2.611.45.  We're still having an issue with Chrome and autofill forms.

0
Vasil
Telerik team
answered on 09 Aug 2013, 11:15 AM
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.
0
Andrew
Top achievements
Rank 1
answered on 29 Oct 2013, 02:15 PM
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.
Tags
Input
Asked by
Al
Top achievements
Rank 2
Answers by
Vasil
Telerik team
moegal
Top achievements
Rank 1
Shawn Clabough
Top achievements
Rank 1
Fred
Top achievements
Rank 1
Andrew
Top achievements
Rank 1
Share this question
or