Oct 08, 2006 05:51 PM|Russ Helfand|LINK
I have fixed the code in the Login and PasswordRecovery adapters per the discussion above. I've got test pages that show the problem and demonstrate that the fix works so I'm confident about that part of the game.
However, I've not touched the CreateUserWizard adapter because, frankly, I've not been able to repro the problem. And, because the suggested code is a bit odd. I'd like to explore the CreateUserWizard case further.
Here is what I've tried as a test case:
<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<form id="form1" runat="server">
<asp:CreateUserWizard ID="CreateUserWizard1" runat="server" ActiveStepIndex="1">
Complete! Your account has been successfully created.
<asp:Button ID="ContinueButton" runat="server" CausesValidation="False" CommandName="Continue" Text="Continue" ValidationGroup="CreateUserWizard1" />
When I run that page in IE using the unmodified CreateUserWizard adapter I don't see the table appear. Also, if I use the suggested code (with the deeply nested de-referencing of Control) I actually end up crashing when I run this test page because at
some point that nest of controls hits a null.
Can anyone provide a test case (page) that I can run locally (so please don't post pages that use all sorts of databases, etc. that I won't have, ha ha) to demonstrate the problem with templating CreateUserWizard and using the kit's adapter? If we can't
come up with such a test case together I'm going to fix the problem in Login and PasswordRecovery for the next rev of the kit but will not attempt any modification to the template code in the adapter for CreateUserWizard.
Sound fair, folks?