Bonjour a tous ;
je suis entrain de developper une IHM simple pour une application : mon IHM contient une "textbox" et une "checkbox". la page de mon IHM est ecrite en asp comme suit :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  <asp:Label ID="Label15" runat="server" Text="Please enter the name of your new offer ( 4 caracters minimum )  "Style="font-style:normal;" />
  <asp:Panel ID="Panel4"  runat="server" Height="28px" Width="915px">
    <asp:TextBox ID="Box1"  runat="server" Height="27px" Width="209px"></asp:TextBox>  
  </asp:Panel>  
  <asp:Panel ID="Panel12"  runat="server">
    <asp:Label ID="Label11" runat="server" Text="Please select charges wich you want to add to the new offer     "  Style="font-style:normal;" />
  </asp:Panel>   
  <asp:checkboxlist id="check1"    runat="server" Height="1222px" Width="91px">
    <asp:listitem id="option1" runat="server" value="BundleOfMinutes" />
    <asp:listitem id="option2" runat="server" value="Dialin" />
<asp:Button ID="btngetcreaoff" Text="Validation"  OnClick="btnValidation_Click"
                    runat="server" Height="37px" />
Mon probleme ,est que quand j'appuie sur le bouton "validation" ma methode btnValidation_Click (ecrite en C#) doit chercher le text de la textbox et les case cochées de la "checkbox", et c'est ce que je n'arrive pas a faire.
merci d'(avance