我有一个下拉列表,当我设置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