我有一個下拉列表,當我設置AutoPostBack =「true」時,頁面不斷刷新。Autopostback不斷刷新網站
誰知道什麼可能是錯的?
<asp:Repeater ID="repFunctionsToAdd" runat="server" OnItemDataBound="repFunctionsToAdd_ItemDataBound">
<ItemTemplate>
<div class="person-section">
<div class="row">
<strong>
<%# Eval("Name") %>
</strong>
<a class="btn-question" href="#">question</a>
<div class="load">
<img src="../images/load<%# Eval("PreProductionLoad") %>.gif" width="40" height="16" alt="image description" />
<img src="../images/load<%# Eval("ProductionLoad") %>.gif" width="40" height="16" alt="image description" />
<img src="../images/load<%# Eval("PostProductionLoad") %>.gif" width="40" height="16" alt="image description" />
</div>
</div>
<div class="row">
<div class="btn01 btn-tilfoj">
<ctrl:Hyperlink ID="hlAddFunction" runat="server" Icon="Plus" Text="Tilføj" />
</div>
<label for="select2">
Tilføj til:</label>
<asp:DropDownList ID="ddlUsers" runat="server" Width="190" OnSelectedIndexChanged="ddlUsers_Sic" AutoPostBack="true" />
</div>
</div>
</ItemTemplate>
</Repeater>
它使得感知,但它需要很高興......有一些功能,由中繼器重複,但每個功能,必須有一個下拉列表中的用戶。 – Joshlo 2010-09-20 08:47:52
@Joshlo - 雖然如此。 =)查看我的更新 – RPM1984 2010-09-20 08:49:01
當渲染頁面時,它在渲染頁面 – Joshlo 2010-09-20 09:20:51