是否可以在createuserwizard中的创建用户向导步骤按钮(上一个,下一个,完成等)下面添加一些文本或一些标记?

时间:2012-04-17 15:50:32

标签: asp.net .net

enter code here`<asp:WizardStep ID="CreateUserWizardStep0" runat="server" StepType="Start">
              <h1>Bir Hesap Seçin</h1>
            <table>
              <tr>
                <td>
                  <asp:Label ID="AccountNameLabel" CssClass="grey" runat="server" AssociatedControlID="SearchAccount" > 
              Kullanıcı Adı:</asp:Label>
                </td>               
              </tr>
              <tr>
                <td>
                  <asp:TextBox ID="SearchAccount" CssClass="field" runat="server"></asp:TextBox>
                  <asp:RequiredFieldValidator Visible="true" ID="RequiredFieldValidator1" ControlToValidate="SearchAccount" Display="None" ValidationGroup="kayitFormu"  runat="server" ErrorMessage="Girmiş Olduğunuz Hesap Adı Kullanımdadır. Lütfen farklı bir hesap adı deneyiniz."></asp:RequiredFieldValidator>
                  </td>
              </tr>
              <tr>
                <td>
                  <asp:Label ID="SearchAccountMessage" style="width:400px;" runat="server" ForeColor="red" />
                </td>
              </tr>
            </table>

       </asp:WizardStep>`

是否可以在createuserwizard的创建用户向导步骤按钮(上一个,下一个,完成等)下面添加一些文本或一些标记?

2 个答案:

答案 0 :(得分:0)

查看StepNavigationTemplate。这个site应该有帮助

答案 1 :(得分:0)

我不确定这是否是您正在寻找的内容,但您可以使用导航模板:

<StartNavigationTemplate>
    <asp:Button ID="btnStepNext" runat="server" Text="Next" Width="110" CommandName="MoveNext" CausesValidation="true" />                                                 
</StartNavigationTemplate>               
<StepNavigationTemplate>                   
    <asp:Button ID="btnStepPrevious" runat="server" Text="Previous" Width="110" CommandName="MovePrevious" CausesValidation="false" />
    <asp:Button ID="btnStepNext" runat="server" Text="Next" Width="110" CommandName="MoveNext" CausesValidation="true" />                                                                                                                                                                                                                                                         
</StepNavigationTemplate>
<FinishNavigationTemplate>                                                                          
    <asp:Button ID="btnStepPrevious" runat="server" Text="Previous" Width="110" CommandName="MovePrevious" CausesValidation="false" />
    <asp:Button ID="btnStepFinish" runat="server" Text="Finish" Width="120" CommandName="MoveComplete" CausesValidation="true" />                                                                           
</FinishNavigationTemplate>