<div id="tab1">
<ul>
<asp:Repeater ID="Repeater1" runat="server" OnItemCommand="Repeater1_ItemCommand">
<ItemTemplate>
<li>
<asp:LinkButton ID="Button1" CommandArgument='<%#Eval("NTID") %>' CommandName="showlist" runat="server" Text='<%#Eval("NTName") %>' /></li>
</ItemTemplate>
</asp:Repeater> </ul>
</div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<div style=" text-align:center;">
<div style=" text-align:center;">
<asp:Repeater ID="rptList" runat="server">
<ItemTemplate>
<div>
<div style=" float:left;"><a href='NewsInfo.aspx?NID=<%#Eval("NID") %>'><%#Eval("NName") %></a> </div><div style="float:right;"> <%#Eval("Nsctime") %></div>
</div> <br />
</ItemTemplate>
</asp:Repeater> </div>
</div>
</ContentTemplate>
<Triggers><asp:AsyncPostBackTrigger ControlID="Button1" EventName="Click"/> </Triggers>
</asp:UpdatePanel>
Button1在Repeater的ItemTemplate当然找不到了。