我在我的项目中使用了asp.net creatuserwizard。我的自定义模板看起来像这样如何处理Asp.Net中的CreateUserWizard步骤?
<WizardSteps>
<asp:CreateUserWizardStep ID="CreateUserWizardStep0" runat="server">
<ContentTemplate>
//my custom code is here
</ContentTemplate>
<CustomNavigationTemplate>
</CustomNavigationTemplate>
</asp:CreateUserWizardStep>
现在,在步骤2我有这样的代码;
<asp:WizardStep ID="CreateUserWizardStep1" runat="server" AllowReturn="False" StepType="Step">
<div class="accountInfo">
<fieldset class="register">
<p>
<asp:Label ID="CityLabel" runat="server" AssociatedControlID="City">City:</asp:Label>
<asp:TextBox ID="City" runat="server" CssClass="textEntry"></asp:TextBox>
</p>
<p>
<asp:Label ID="CountryLabel" runat="server" AssociatedControlID="Country">Country:</asp:Label>
<asp:TextBox ID="Country" runat="server" CssClass="textEntry"></asp:TextBox>
</p>
</fieldset>
</div>
</asp:WizardStep>
所以,我的问题是,如何插入我的用户配置文件“城市”文本框的值,因为我在接下来的第二步点击。
我已经读过这个,但它说,一切都是在第一步创建的,即“”,而我想处理写在 –
2012-02-28 15:43:21