Comment référencer un DropDownList qui existe ds ContentTemplate de CreateUserWizard
Bonjour,
Je veux ajouter un DropDownList dans le <ContentTemplate> de <CreateUserWizardStep>.
Je l'ai ajouté de la façon suivante:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| <asp:CreateUserWizard ID="CreateUserWizard1" runat="server" BackColor="#EFF3FB" BorderColor="#B5C7DE"
BorderStyle="Solid" BorderWidth="1px" ContinueDestinationPageUrl="~/View/WelcomePage.aspx"
Font-Names="Verdana" Font-Size="0.8em" OnCreatedUser="CreateUserWizard1_CreatedUser" >
<WizardSteps>
<asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server">
<ContentTemplate>
<table border="0" style="font-size: 100%; font-family: Verdana">
<tr>
<td align="center" colspan="2" style="font-weight: bold; color: white; background-color: #5d7b9d">
Sign Up for Your New Account</td>
</tr>
/*** ensemble de lignes****/
<tr>
<td align="right">
<asp:Label ID="ProfilLabel" runat="server">
Profil:</asp:Label></td>
<td>
<asp:DropDownList ID="ProfilDDL" runat="server">
</asp:DropDownList>
</td>
</tr> |
Le probleme c'est que j'arrive pas à récupérer mon ProfilDDL dans le code behind.
Vous avez une idée?
merci d'avance.