[Ajax] Updatepanel qui s'update pas.
Salut,
J'ai un updatepanel qui ne veut pas se mettre a jour et je ne comprend pas pourquoi. voici mon code
Code:
1 2 3 4 5 6 7 8 9 10 11 12
|
<asp:DropDownList ID="ddlBusinessUnit" runat="server" AutoPostBack="false"></asp:DropDownList>
<asp:updatepanel id="updateheader" run="server">
<ContentTemplate>
<asp:Label ID="lblCustomerComplaint" runat="server" Text="" ></asp:Label>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="ddlBusinessUnit" EventName="SelectedIndexChanged"/>
</Triggers>
</asp:updatepanel> |
voila mon code behind
Code:
1 2 3 4 5 6 7 8 9 10
| Protected Sub ddlBusinessUnit_SelectedIndexChanged1(ByVal sender As Object, ByVal e As System.EventArgs) Handles ddlBusinessUnit.SelectedIndexChanged
lblCustomerComplaint.Text = "ttt"
panHeader.Update()
End Sub |
Qu'est-ce qui cloche? Pourquoi lupdate ne se met pas a jour? J'utilise VS2005 et je n'optien pas d'erreur de code. Bizarre.
Merci!