> Hi Bernard,
>
> Thats quite big! :)
> Also it has sql code embedded which will make it impossible to repro it on
> my side. You could try to reduce the code, by starting to remove
> non-relevant code, while still trying to repro the problem. Usually this
> exercise would give you some hints about what may be going wrong.
>
> --
> Victor Garcia Aprea
> Microsoft MVP | ASP.NET
> Looking for insights on ASP.NET? Read my blog:
>
http://obies.com/vga/blog.aspx > To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
> and not by private mail.
>
> "Bernard Borsu" <bernard.borsu@odysseos.net> wrote in message
> news:ea8eEBiSDHA.2196@TK2MSFTNGP12.phx.gbl...
> > Sorry for "small" but may page is quiet big :
> >
> > aspx page :
> >
> > <%@ Page Language="vb" AutoEventWireup="false"
Codebehind="Membre.aspx.vb"
> > Inherits="Membre" %>
> > <h1 id="oTFiche" runat="server">Fiche</h1>
> > <h2 id="oTMode" runat="server">Modification</h2>
> > <table>
> > <tr>
> > <td width="160"></td>
> > <td><asp:validationsummary id="oVS" DisplayMode="List"
> > Runat="server"></asp:validationsummary></td>
> > </tr>
> > <tr>
> > <td>Nom</td>
> > <td><asp:textbox id="oNom" Runat="server"
> > Width="200px"></asp:textbox><asp:requiredfieldvalidator id="oRFVNom"
> > Runat="server" text="&#9668;" ErrorMessage="Le nom est manquant."
> > ControlToValidate="oNom"></asp:requiredfieldvalidator></td>
> > </tr>
> > <tr>
> > <td>Prénom</td>
> > <td><asp:textbox id="oPrenom" Runat="server"
> > Width="200px"></asp:textbox><asp:requiredfieldvalidator id="oRFVPrenom"
> > Runat="server" text="&#9668;" ErrorMessage="Le prénom est manquant."
> > ControlToValidate="oPrenom"></asp:requiredfieldvalidator></td>
> > </tr>
> > <tr>
> > <td>Sexe</td>
> > <td><asp:dropdownlist id="oSexe"
Runat="server"></asp:dropdownlist></td>
> > </tr>
> > <tr>
> > <td>Adresse</td>
> > <td><asp:textbox id="oAdresse" Runat="server"
> > Width="254px"></asp:textbox></td>
> > </tr>
> > <tr>
> > <td>C.P. & Localité</td>
> > <td><asp:textbox id="oCP" Runat="server"
> > Width="50px"></asp:textbox> <asp:textbox id="oLoc" Runat="server"
> > Width="200px"></asp:textbox></td>
> > </tr>
> > <tr>
> > <td>Téléphone</td>
> > <td><asp:textbox id="oTel" Runat="server"
> > Width="150px"></asp:textbox></td>
> > </tr>
> > <tr>
> > <td>EMail</td>
> > <td><asp:textbox id="oEMail" Runat="server"
> > Width="400px"></asp:textbox></td>
> > </tr>
> > <tr>
> > <td>EMail parent</td>
> > <td><asp:textbox id="oEMailParent" Runat="server"
> > Width="400px"></asp:textbox></td>
> > </tr>
> > <tr id="oTRType" visible="False" runat="server">
> > <td>Type</td>
> > <td>
> > <script language="javascript">
> > function ChangeType() {
> > document.all("oSection").disabled = event.srcElement.value > 3;
> > }
> > </script>
> > <asp:DropDownList ID="oType" DataTextField="Type_Nom"
> > DataValueField="Type_Id" onchange="javascript:ChangeType();"
> > Runat="server" /></td>
> > </tr>
> > <tr id="oTRSection" visible="False" runat="server">
> > <td>Section</td>
> > <td><asp:DropDownList ID="oSection" DataTextField="Anim_Nom"
> > DataValueField="Anim_Id" Runat="server" /></td>
> > </tr>
> > <tr id="oTRTotem" runat="server">
> > <td>Totem</td>
> > <td><asp:TextBox ID="oTotem" Width="200px" Runat="server" /></td>
> > </tr>
> > <tr>
> > <td>Naissance (jj/mm/aa)</td>
> > <td><asp:TextBox ID="oNaissance" Width="80px" Runat="server"
> > /><asp:CustomValidator ID="oCVNaissance" EnableClientScript="False"
> > ErrorMessage="La date de naissance est incorrecte."
> > OnServerValidate="CtrlNaissance" text="&#9668;" Runat="server"
> > /></td>
> > </tr>
> > <tr>
> > <td colspan="2"> </td>
> > </tr>
> > <tr>
> > <td></td>
> > <td><asp:Button ID="oOK" CommandName="=" OnCommand="Action"
> > Text="Enregistrer" Width="100px" Runat="server" />
> > <asp:Button ID="oKO" CausesValidation="False" CommandName="0"
> > OnCommand="Action" Text="Annuler"
> > Width="100px" Runat="server" /></td>
> > </tr>
> > </table>
> > <asp:Literal ID="oScript" EnableViewState="False" Runat="server" />
> >
> >
> > and code behind page :
> >
> > Imports System.Web.UI.WebControls
> >
> > Public Class Membre
> > Inherits PageGestion
> >
> > Protected WithEvents oNom As System.Web.UI.WebControls.TextBox
> > Protected WithEvents oPrenom As System.Web.UI.WebControls.TextBox
> > Protected WithEvents oSexe As System.Web.UI.WebControls.DropDownList
> > Protected WithEvents oAdresse As System.Web.UI.WebControls.TextBox
> > Protected WithEvents oCP As System.Web.UI.WebControls.TextBox
> > Protected WithEvents oLoc As System.Web.UI.WebControls.TextBox
> > Protected WithEvents oTel As System.Web.UI.WebControls.TextBox
> > Protected WithEvents oEMail As System.Web.UI.WebControls.TextBox
> > Protected WithEvents oOK As System.Web.UI.WebControls.Button
> > Protected WithEvents oKO As System.Web.UI.WebControls.Button
> > Protected WithEvents oTotem As System.Web.UI.WebControls.TextBox
> > Protected WithEvents oVS As
> System.Web.UI.WebControls.ValidationSummary
> > Protected WithEvents oRFVNom As
> > System.Web.UI.WebControls.RequiredFieldValidator
> > Protected WithEvents oRFVPrenom As
> > System.Web.UI.WebControls.RequiredFieldValidator
> > Protected WithEvents oNaissance As System.Web.UI.WebControls.TextBox
> > Protected WithEvents oCVNaissance As
> > System.Web.UI.WebControls.CustomValidator
> > Protected WithEvents oTFiche As
> > System.Web.UI.HtmlControls.HtmlGenericControl
> > Protected WithEvents oTMode As
> > System.Web.UI.HtmlControls.HtmlGenericControl
> > Protected WithEvents oTRTotem As
> System.Web.UI.HtmlControls.HtmlTableRow
> > Protected WithEvents oEMailParent As
System.Web.UI.WebControls.TextBox
> > Protected WithEvents oType As System.Web.UI.WebControls.DropDownList
> > Protected WithEvents oSection As
> System.Web.UI.WebControls.DropDownList
> > Protected WithEvents oTRType As
> System.Web.UI.HtmlControls.HtmlTableRow
> > Protected WithEvents oTRSection As
> > System.Web.UI.HtmlControls.HtmlTableRow
> > Protected WithEvents oScript As System.Web.UI.WebControls.Literal
> >
> > Private lNouveau As Boolean
> >
> > Private Sub Page_Load(ByVal sender As System.Object, ByVal e As