X 번호가 Ajax 인 목록 페이지에서 사이트 일관성을위한 마스터 페이지 안에 있습니다.ASP.NET에서 반복적 인 Ajax 양식을 사용할 수 있습니까?
튜토리얼 내가 ASP.NET Ajax에 걸쳐 있습니다. 내 <table></table>
레이아웃 주위에 <form><asp:ScriptManager ID="asm" runat="server"/></form>
이 필요합니다. 나는 각각의 <tr></tr>
이 그 자체로 형식이 될이 함수 (각 코드는 개별 Ajax 요소)라고 생각할 것이다. 따라서 코드에 특정한 액션은 해당 부분의 Ajax 비동기 포스트 백만 트리거합니다. 다음은 올바른 레이아웃이 어떻게 생겼는지 상상 한 내용입니다.
<table>
<thead>
<tr>
<th>
Code
</th>
<th>
Description
</th>
<th>
Document
</th>
<th>
Customer Contact Required for Resolution
</th>
<th>
Associate
</th>
<th>
Shareholder
</th>
<th>
Customer
</th>
<th>
Regulatory
</th>
<th>
Root Cause
</th>
<th>
Investor Requirements
</th>
</tr>
</thead>
<tbody>
<% foreach (var item in GetCodes())
{ %>
<tr>
<form><asp:ScriptManager ID="asm" runat="server"/>
<asp:UpdatePanel runat="server">
<td><%=item.Code %></td><td>item.Description</td><td><%=item.Document %></td>
<td><asp:ListBox ID="lbAssociate" /></td>
<td><asp:ListBox ID="lbShareholder" /></td>
<td><asp:ListBox ID="lbCustomer" /></td>
<td><asp:ListBox ID="lbRegulatory" /></td>
<td><asp:dropdownlist ID="ddlRoot" /></td>
<td><asp:CheckBox
ID="_ckbAllInvestorRequirements"
runat="server"
Text="All"
onclick="AllInvestorClicked()" />
<asp:CheckBoxList
ID="_cblInvestorRequirements"
runat="server">
</asp:CheckBoxList></td>
<td><asp:Button ID="Submit" Text="Submit" runat="server" /></td>
</asp:UpdatePanel>
</form>
</tr>
<% } %>
</tbody>
</table>
반복 Ajax 미니 폼의 올바른 레이아웃입니까? XHTML이 <form>
인 <table>
이라는 아이디어가 마음에 들지 않으므로 어떻게 내놓을 수 있습니까? 전체 테이블을 하나의 양식에 배치하면 단일 항목 대신 각 항목마다 모든 항목이 다시로드됩니다.
HTML 다른'