Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Apr 19, 2007 03:15 AM|LINK
Hello CSS Adapter team (and Adapter users)!
Recently I've been trying to use 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 b/c 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.
You can confirm the double PostBack using Fiddler.
Others have reported the same issue, though they didn't root-cause it as being a double-PostBack issue. See here (http://forums.asp.net/thread/1638129.aspx). The only "solution" I've found so far is to disable the Control Adapter for the CreateUserWizard
and PasswordRecovery controls.
Oh, and I do apologize for coming off a bit rude in the other post(s)... it was late, I was tired and frustrated... but now I'm in a much better state of mind.
So, to recap:
Please let me know if there is anything I can to do help resolve this issue.
"css friendly adapter"