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

RadTextBox and browser autocomplete

10 Answers 553 Views
Input
This is a migrated thread and some comments may be shown as answers.
Jure
Top achievements
Rank 1
Jure asked on 30 Jul 2011, 01:23 PM
Hello!

I am using RadTextBoxes so users input their email and password information for login.

Here is the code snippet (everything is enclosed in a RadAjaxPanel):

E-mail:
 <telerik:RadTextBox ID="rtbEmail" runat="server" EmptyMessage="E-mail" MaxLength="100" />
 <asp:RegularExpressionValidator ID="revEmail" Display="Dynamic" ErrorMessage="Invalid e-mail address." CssClass="error"
                                 ValidationGroup="vgLogin" ControlToValidate="rtbEmail" runat="server"
                                 ValidationExpression="^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$" />
 <asp:RequiredFieldValidator ID="rfvEmail" Display="Dynamic"  runat="server" ErrorMessage="No e-mail address." CssClass="error" ValidationGroup="vgLogin" ControlToValidate="rtbEmail" />
 <br />
 <br />
Password:
 <telerik:RadTextBox ID="rtbPassword" runat="server" EmptyMessage="Password" MaxLength="100" TextMode="Password" />
 <asp:RequiredFieldValidator ID="rfvPassword" Display="Dynamic" runat="server" ErrorMessage="No password." CssClass="error" ValidationGroup="vgLogin" ControlToValidate="rtbPassword" />


No matter how many times I input the email and password my browser doesn't remember it. I have it turned on though, because other sites remember my inputs normally.

Thanks for your assistance.

Sincerely, Jure

10 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 04 Aug 2011, 09:28 AM
Hi Jure,

To use the AutoComplete feature of RadTextBox please review the following online help topic.
I hope this helps.

All the best,
Maria Ilieva
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.

0
Jure
Top achievements
Rank 1
answered on 04 Aug 2011, 09:58 AM
As you see I have RadTextBox declared like this:

<telerik:RadTextBox ID="rtbEmail" runat="server" EmptyMessage="E-mail" MaxLength="100" />


Your article says:
By default, the value of the AutoCompleteType property is "None". With this setting, the RadTextBox control shares the list with otherRadTextBox controls with the same ID property across different pages. For any other value of AutoCompleteType, the RadTextBoxshares its list with all RadTextBox controls that have the same AutoCompleteType value.

As you see I have AutoCompleteType set to "None" - default, however autocomplete doesn't work in this page, and not on any other page where I have a textbox named rtbEmail. Autocomplete in my browsers works fine - it works on all the sites that are online...
0
Maria Ilieva
Telerik team
answered on 09 Aug 2011, 01:56 PM
Hello Jure,

Find attached a small runnable application which demonstrates the correct behaviour of RadInput "None" autocomplete mode. Test it on your side and verify of it works for you. Please note that you should enable the browser autocomplete feature before testing.

Greetings,
Maria Ilieva
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.

0
Jure
Top achievements
Rank 1
answered on 04 Oct 2011, 12:34 PM
I didn't have time to attend this matter as it is not so important but I found out what is wrong. In the example you sent me everything works fine, however if you wrap the controls (radTextBox) in radAjaxPanel or some else ajaxifying control the autocomplete stops working. Is it posible to have RadTextBox wrapped in ajaxpanel so the autocomplete works, below is a code snippet:

<telerik:RadAjaxPanel ID="rap" runat="server">
  <telerik:RadTextBox AutoCompleteType="None" ID="RadTextBox1" runat="server" />
  <asp:Button ID="Button1" Text="Button1" runat="server" />
</telerik:RadAjaxPanel>
0
Maria Ilieva
Telerik team
answered on 07 Oct 2011, 07:09 AM
Hello Jure,

Thank you for getting back to us.

It seems that the described issue is a bug in the RadAjax controls. I have passed this problem to our dev team so they could further research on the issue and discuss if possible fix is available. As soon as we have any updates on this case we will get back to you.

Regards,
Maria Ilieva
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
druffyw
Top achievements
Rank 2
answered on 17 Jan 2013, 02:39 PM
Any updates on this?
0
Bill O'Neil
Top achievements
Rank 1
answered on 26 Jun 2013, 02:15 PM
Is there any solution to this issue?
0
Maria Ilieva
Telerik team
answered on 01 Jul 2013, 02:38 PM
Hi Bill,

The presented behavior appears to be a general framework issue and it is not directly related with the RadTextBox control. As submitting the input value with ajax does not perform submitting of the whole form the browser auto complete functionality does not work as expected and this could be replicated with regular asp TextBox and asp UpdatePanel controls. You could review the flowing forum thread for more information on this matter:
http://stackoverflow.com/questions/9201858/how-to-store-to-browser-auto-complete-auto-fill-when-using-ajax-calls-instead-of


Regards,
Maria Ilieva
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
Bill O'Neil
Top achievements
Rank 1
answered on 01 Jul 2013, 03:20 PM
Understood - I realized that and thought from the way this was phrased that there might be something RadAJAX could do about it.

If RadAJAXManager could solve this issue - that would certainly be classified as real "difference making" functionality.  Just a thought.
0
Maria Ilieva
Telerik team
answered on 02 Jul 2013, 10:24 AM
Hi,

Our developers made some research locally and unfortunately came to the conclusion that the general limitation could not be bypassed in the RadAjax components.

Regards,
Maria Ilieva
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.
Tags
Input
Asked by
Jure
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Jure
Top achievements
Rank 1
druffyw
Top achievements
Rank 2
Bill O'Neil
Top achievements
Rank 1
Share this question
or