我在使用AJAX和ASP.NET 3.5时遇到了问题 :(
问题非常奇怪,因为我在不同的页面上使用相同的方法时是正常工作的,但在这个特定页面上却无法正常工作。
以下是我的代码:
<asp:UpdatePanel ID="upMain" runat="server" UpdateMode="Conditional" Visible="true" RenderMode="Inline">
<ContentTemplate>
<asp:DropDownList ID="ddlNewService_PortTelco" runat="server" Width="250" CssClass="dropdown" AutoPostBack="true" OnSelectedIndexChanged="Provision_PortedTelcoChanged"></asp:DropDownList>
</ContentTemplate>
</asp:UpdatePanel>
在DropDown之前有一个DIV(html标签),然后还有几个asp:Panels。我不明白为什么这会导致完整的POST BACK?!你有什么想法吗?谢谢