Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Login Autocomplete in DNN6Login Autocomplete in DNN6
Previous
 
Next
New Post
1/31/2012 12:47 PM
 

took a look in the code and the changes you need to do are:

DesktopModules\Admin\Authentication\Login.ascx.cs

remove

username.Attributes.Add("AUTOCOMPLETE", "off");

and

password.Attributes.Add("AUTOCOMPLETE", "off");

from AddLoginControlAttributes

from DesktopModules\Admin\Security\User.ascx

remove

AutoCompleteType="Disabled"

from default.aspx

remove

autocomplete="off"


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/31/2012 2:20 PM
 
Interestingly, after making the change in security/user.ascx, it started working in the clean copy of v5 for Chrome.

So I have four web sites now, all with the same mods you recommended
Clean install of 5.6.0 -- Works in Chrome, but not in IE.
Clean install of 6.1.2 -- Does not work at all.
Our current 5.6.1 -- Works in IE and Chrome.
Our current site upgraded to 6.1.2 -- Does not work at all.

I compared the page source of the clean 5.6.0 IE and Chrome, but the only difference is that the Chrome version has two extra JS files related to XML.  Didn't seem to have anything to do with the current issue.
 
New Post
1/31/2012 3:54 PM
 
im afraid without looking at the code I can't offer any further help (and unfortunately am too busy to do so)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/2/2012 3:56 PM
 
Well, I think I figured out what's going on.

In v5, the default login form apparently has other input fields.  IE looks at the form to see if it's what it thinks is a login screen.  After I created a new Login skin, dropped in the Account Login module and unchecked the host > remember me box, I was almost there.  The final step was to find the skin and set dnn:search to NOT be visible.  Once that input field was gone, IE decided this was an input form, and the "Save Password" message started coming up.  It was already working in my current version because we don't use the "remember me" checkbox or Search.

In v6, I tried the same stuff, but that still didn't fix it.  I noticed that cmdLogin in v5 was a "asp:button", but v6 changed it to "asp:linkbutton".  I tried changing it back to a button, but that doesn't do anything because the generated HTML is "type=button" regardless.  Normally an asp:button would create a "type=submit", but Telerik is different starting with 6.0.0.  All "type=submit"s are forcibly changed to "type=button", and IE won't accept that it's a login screen if it's not submitted.

http://www.telerik.com/support/kb/asp...

As a test, I took the HTML generated for the cmdLogin input control, and pasted it in the login.ascx instead of the asp:button, and finally changed the type=button to type=submit.  The "Save Password" message popped up!

I guess I'll have to see if I can come up with a more elegant solution, though.
 
New Post
2/3/2012 11:47 AM
 

If anyone cares, here is my "elegant" solution.  I simply added this jQuery code to the Login module's header tag.  It clones the button control and creates a new one with type=submit.  Works like a charm!

  <script>
  $(document).ready(function() {
      var oldBtn = $('input[name$="cmdLogin"]');  
      var oldID = oldBtn.attr('id'); 
      var newBtn = oldBtn.clone(); 
      newBtn.attr('type','submit');
      newBtn.attr('id','newBtn');
      newBtn.insertBefore(oldBtn);
      oldBtn.remove();
      newBtn.attr('id',oldID);
  });
  </script>

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Login Autocomplete in DNN6Login Autocomplete in DNN6


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out