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
| <form id="form1" runat="server">
<div>
<ajax:ScriptManager ID="ScriptManager1" runat="server"></ajax:ScriptManager>
<h1>Test UpdatePanel - Calendar - Focus</h1>
<ajax:UpdatePanel ID="udpMain" UpdateMode="Conditional" runat="server">
<ContentTemplate>
<asp:TextBox ID="txtVille" runat="server"
AutoPostBack="true"
ontextchanged="txtVille_TextChanged" />
<br /><br />
<asp:RadioButtonList ID="rblQuestion" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Text="Oui" Value="O" />
<asp:ListItem Text="Non" Value="O" />
</asp:RadioButtonList>
<br /><br />
<asp:Button ID="btnValider" runat="server" Text="Valider" />
</ContentTemplate>
</ajax:UpdatePanel>
</div>
</form>
==>> CODE - BEHIND
protected void txtVille_TextChanged(object sender, EventArgs e)
{
} |
Partager