asp.net linkbutton in updatepanel doesn't fire
问题 I have a asp.net web application. In my .aspx page I have a update panel in which I have 3 asp:LinkButton that should make a call to a c# code behind. The problem is that the onclick doesn't work. Here is how the code looks: <div id="div1"> <asp:UpdatePanel ID="UpdatePanel2" runat="server"> <ContentTemplate> <ul> <li><asp:LinkButton ID="lnk_1" runat="server" OnClick="lnk1_Click">Link1</asp:LinkButton></li> <li><asp:LinkButton ID="lnk_2" runat="server" OnClick="lnk2_Click">Link2</asp