1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
|
<asp:CreateUserWizard ID="CreateUserWizard1" runat="server">
<WizardSteps>
<asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server">
<ContentTemplate>
<table>
<tr>
<td align="center" colspan="2">
<asp:Label ID="Label1" Text="text" runat="server" meta:resourcekey="Inscription"> Enregistrez-vous et créez votre compte maintenant !</asp:Label>
</td>
</tr>
<tr>
<td>
<asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" meta:resourcekey="UserName">Nom d'Utilisateur :</asp:Label>
</td>
<td>
<asp:TextBox ID="UserName" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ErrorMessage="Entrez un nom d'utilisateur" ControlToValidate="UserName" ForeColor="Red" ValidationGroup="ValidationInscription">
</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label>
</td>
<td>
<asp:TextBox ID="Password" runat="server" TextMode="Password" meta:resourcekey="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ErrorMessage="Entrez un mot de passe" ControlToValidate="Password" ForeColor="Red" ValidationGroup="ValidationInscription">
</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:Label ID="ConfirmPasswordLabel" runat="server" AssociatedControlID="ConfirmPassword"
meta:resourcekey="ConfirmPassword">Confirm Password:</asp:Label>
</td>
<td>
<asp:TextBox ID="ConfirmPassword" runat="server" TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
ErrorMessage="Confirmez votre mot de passe SVP" ControlToValidate="ConfirmPassword" ForeColor="Red" ValidationGroup="ValidationInscription">
</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
<asp:Label ID="EmailLabel" runat="server" AssociatedControlID="Email" meta:resourcekey="Email">E-mail:</asp:Label>
</td>
<td>
<asp:TextBox ID="Email" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server"
ErrorMessage="Entrez votre e-mail" ControlToValidate="Email" ForeColor="Red" ValidationGroup="ValidationInscription">
</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td colspan="2">
<!--Définir le validateur de comparaison de mot de passe-->
<asp:CompareValidator ID="CompareValidator1" runat="server"
ErrorMessage="Les mots de passe ne concordent pas !" ControlToValidate="ConfirmPassword"
ControlToCompare="Password" ValidationGroup="ValidationInscription">
</asp:CompareValidator>
</td>
</tr>
<tr>
<td colspan="2" style="color: Red;">
<asp:Literal ID="ErrorMessage" runat="server" EnableViewState="False"></asp:Literal>
</td>
</tr>
</table>
</ContentTemplate>
<CustomNavigationTemplate>
<table border="0" cellspacing="5" style="width:100%;height:100%;">
<tr>
<td align="right" colspan="0">
<asp:Button ID="StepNextButton" runat="server" CommandName="MoveNext"
Text="Créer un utilisateur" ValidationGroup="ValidationInscription" />
</td>
</tr>
</table>
</CustomNavigationTemplate>
</asp:CreateUserWizardStep>
<asp:WizardStep ID="StepWizard" runat="server" Title="Information complémentaire">
<table>
<tr>
<td>
<asp:Label ID="Label2" runat="server" meta:resourcekey="Nom"></asp:Label>Nom :
</td>
<td>
<asp:TextBox runat="server" ID="TBNom"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label1" runat="server" meta:resourcekey="Prenom">Prénom : </asp:Label>
</td>
<td>
<asp:TextBox runat="server" ID="TBPrenom"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label3" runat="server" meta:resourcekey="DateNaissance">Date de naisance : </asp:Label>
</td>
<td>
<asp:TextBox runat="server" ID="TBDateNaissance"></asp:TextBox>
<!--Vérification de la date de naissance-->
</td>
</tr>
<tr>
<td colspan="2">
<asp:RadioButtonList ID="RadioButtonList1" runat="server">
</asp:RadioButtonList>
<!--Regarder si un des elements est choisi-->
</td>
</tr>
</table>
</asp:WizardStep>
<asp:CompleteWizardStep ID="CompleteWizardStep1" runat="server">
<ContentTemplate>
<table>
<tr>
<td align="center">
<asp:Label ID="Label4" runat="server" meta:resourcekey="Succes">
Compte créé avec succès.
</asp:Label>
</td>
</tr>
<tr>
<td>
<asp:Button ID="ContinueButton" runat="server" CausesValidation="False" CommandName="Continue"
Text="Continue" ValidationGroup="CreateUserWizard1" meta:resourcekey="Continue" />
</td>
</tr>
</table>
</ContentTemplate>
</asp:CompleteWizardStep>
</WizardSteps>
<FinishNavigationTemplate>
<asp:Button ID="FinishButton" runat="server" CommandName="MoveComplete"
Text="Finir l'inscription" ValidationGroup="EtapeInter" BorderStyle="Ridge" />
</FinishNavigationTemplate>
<StartNavigationTemplate>
<asp:Button ID="StartNextButton" runat="server" CommandName="MoveNext"
Text="Next" />
</StartNavigationTemplate>
<StepNavigationTemplate>
<asp:Button ID="StepPreviousButton" runat="server" CausesValidation="False"
CommandName="MovePrevious" Text="Précédent" />
<asp:Button ID="StepNextButton" runat="server" CommandName="MoveNext"
Text="Suivant" />
</StepNavigationTemplate>
</asp:CreateUserWizard> |
Partager