I mentioned this on my blog before I realized that the Adapters had been moved over to CodePlex - so I'm reposting the issue here. :)
============
I've been using the CSS Adapters along with the Membership/Roles/Provider controls and I've come across an issue where the Adapters cause the page to PostBack twice when using IE. (I tested using IE7 and FF 2.0... but others have confirmed the issue exists in IE6 as well).
For example, when using the CreateUserWizard and it's Adapter, clicking the submit button (which kicks off the CreateUserWizardStep) causes the page to PostBack twice in a row.
From an end-user point of view an error message is displayed on the screen, and rightly so. By stepping through the code in debug mode, I was able to verify that the first PostBack successfully created a user (and the user shows up in the aspnet_Membership table). However when they wizard tries to create the user for the 2nd PostBack it fails because the user already exists. Hence, an error is thrown and shown to the user.
A similar situation occurs with the PasswordRecovery control - the password is actually reset twice, and two emails are sent to the user.
I've also confirmed this to be an issue with the ChangePassword control - the password is successfully reset on the first request, but the second request fails because the "old password" value passed in the request is no longer valid.
You can confirm the double PostBack using Fiddler.
1. fire up Fiddler and go to a page using one of the above controls (and their respective Adapter of course).
2. Use the control.
3. Look in the Fiddler HTTP Sessions window and you'll see duplicate POST requests for the same page.
The only work-around I've found so far is to disable the Control Adapter for the CreateUserWizard and PasswordRecovery controls.
So, to recap:
* using RTM version of CSS Adapters
* using asp.net 2.0 Membership/Profile/Roles controls with CSS Adapters
* using WebApplicationProject (WAP) model
* Membership controls + CSS Adapters work fine with FF 2.0
* some (possibly all?) Membership controls + CSS Adapters cause double PostBack with IE7 (and others have confirmed same issue with IE6).
====================
Please let me know if there is anything further I can do to help...
You can see my original post about the issue here: http://stevenharman.net/blog/archive/2007/04/18/css-control-adapters-cause-double-postback-in-ie.aspx