52,797
社区成员
发帖
与我相关
我的任务
分享
<asp:DataList id="DataList1" runat="server" Width="760px" DataSourceID="SqlDataSource1" DataKeyField="id" OnItemCommand="DataList1_ItemCommand"><ItemTemplate>
<DIV class="line_5"> </DIV><asp:Button id="aaa" runat="server" Text="回 复" ></asp:Button> <cc1:PopupControlExtender id="PopupControlExtender1" runat="server" TargetControlID="aaa" PopupControlID="Layer2" BehaviorID="Button5" ></cc1:PopupControlExtender>
</ItemTemplate>
</asp:DataList>
<div id="ly" style="position: absolute; top: 0px; filter: alpha(opacity=60); background-color: #777;
z-index: 2; left: 0px; display: none;">
</div>
<!-- 浮层框架开始 -->
<div id="Layer2" align="center" style="position: absolute; z-index: 3; left: 50%; top: 50%;
background-color: #fff; display: none; left: 50%; top: 50%;" >
<table width="540" border="0" cellpadding="0" cellspacing="0" style="border: 0 solid #e7e3e7;
border-collapse: collapse; left: 50%; top: 50%;">
<tr>
<td style="background-color: #73A2d6; color: #fff; padding-left: 4px; padding-top: 2px;
font-weight: bold; font-size: 14px;" height="27" valign="middle">
[ 回 复 留 言 ]
</td>
</tr>
<tr>
<td height="130" align="center">
<asp:TextBox ID="TextBox1" runat="server" Rows="8" TextMode="MultiLine" Width="631px"></asp:TextBox> </td>
</tr>
</table><asp:Button ID="Button5" runat="server" Text="关 闭" />
<input type="button" value=" 确定 " onclick="Lock_CheckForm(this);" id="Button1" runat="server" style="width: 59px" onserverclick="Button1_ServerClick"></div>
<%@ Page Language="C#" MasterPageFile="~/Master/DefaultNotRight.master" AutoEventWireup="true" CodeFile="TeacherLWList.aspx.cs" Inherits="Member_teacher_TeacherLWList" Title="Untitled Page" %>
<%@ Register Assembly="YYControls" Namespace="YYControls" TagPrefix="yyc" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:UpdatePanel id="UpdatePanel1" runat="server">
<contenttemplate>
<asp:DataList id="DataList1" runat="server" Width="760px" DataSourceID="SqlDataSource1" DataKeyField="id" OnItemCommand="DataList1_ItemCommand"><ItemTemplate>
<DIV class="line_5"><TABLE style="WIDTH: 100%"><TBODY><TR><TD style="WIDTH: 410px; HEIGHT: 20px"><asp:Label id="Label1" runat="server" Text='<%# Bind("SName") %>'></asp:Label>
<asp:Label id="Label2" runat="server" Text='<%# Bind("LWContent","问: {0}") %>'></asp:Label></TD>
<TD style="WIDTH: 152px; HEIGHT: 20px"><asp:Label id="Label3" runat="server" Text='<%# Bind("LWTime","[ {0} ]") %>'></asp:Label></TD></TR>
<TR><TD style="WIDTH: 410px; COLOR: #999999; HEIGHT: 21px"><asp:Label id="Label4" runat="server" Text='<%# Bind("RevertContent","答: {0}") %>'>
</asp:Label></TD><TD style="WIDTH: 152px; COLOR: #999999; HEIGHT: 21px">
<asp:Label id="Label5" runat="server" Text='<%# Bind("RevertTime","[ {0} ]") %>' ForeColor="#999999"></asp:Label> </TD></TR>
<TR><TD style="DISPLAY: none; WIDTH: 410px; HEIGHT: 26px"><asp:TextBox id="TextBox2" runat="server" Text='<%# Bind("Id") %>'></asp:TextBox></TD>
<TD style="HEIGHT: 26px"><asp:TextBox id="TextBox3" runat="server" Text='<%# Bind("Id") %>'></asp:TextBox></TD>
<TD style="HEIGHT: 26px"><asp:Button id="Button2" onclick="Button2_Click" runat="server" Text="回 复" OnClientClick="locking()" ValidationGroup="delete" CommandArgument="aaa" OnCommand="Button2_Command"></asp:Button>
<asp:LinkButton id="LinkButton1" runat="server" OnClientClick="locking()" CommandArgument='<%# Bind("Id") %>' OnCommand="LinkButton1_Command">回复</asp:LinkButton>
<INPUT id="Button3" onclick="return locking()" type=button value="button" /><A onclick="locking()" href="#">aaaaaa</A></TD></TR></TBODY></TABLE></DIV>
<asp:Button id="aaa" runat="server" Text="Button" __designer:wfdid="w95"></asp:Button>
<cc1:ModalPopupExtender id="ModalPopupExtender1" runat="server" TargetControlID="aaa" BackgroundCssClass="bg" PopupControlID="Layer2" Enabled="True" BehaviorID="Button5" CancelControlID="Button5" DropShadow="true">
</cc1:ModalPopupExtender> <cc1:PopupControlExtender id="PopupControlExtender1" runat="server"></cc1:PopupControlExtender>
</ItemTemplate>
</asp:DataList>
</contenttemplate>
</asp:UpdatePanel>
<div id="ly" style="position: absolute; top: 0px; filter: alpha(opacity=60); background-color: #777;
z-index: 2; left: 0px; display: none;">
</div>
<!-- 浮层框架开始 -->
<div id="Layer2" align="center" style="position: absolute; z-index: 3; left: 50%; top: 50%;
background-color: #fff; display: none; left: 50%; top: 50%;" >
<table width="540" border="0" cellpadding="0" cellspacing="0" style="border: 0 solid #e7e3e7;
border-collapse: collapse; left: 50%; top: 50%;">
<tr>
<td style="background-color: #73A2d6; color: #fff; padding-left: 4px; padding-top: 2px;
font-weight: bold; font-size: 14px;" height="27" valign="middle">
[ 回 复 留 言 ]
</td>
</tr>
<tr>
<td height="130" align="center">
<asp:TextBox ID="TextBox1" runat="server" Rows="8" TextMode="MultiLine" Width="631px"></asp:TextBox> </td>
</tr>
</table><asp:Button ID="Button5" runat="server" Text="关 闭" />
<input type="button" value=" 确定 " onclick="Lock_CheckForm(this);" id="Button1" runat="server" style="width: 59px" onserverclick="Button1_ServerClick"></div>
<!-- 浮层框架结束 -->
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:LoreMart %>"
SelectCommand="SELECT [Id], [TNname],[SName], [LWContent], [LWTime], [LWState], [RevertContent], [RevertTime], [StudentId], [TeacherId] FROM [TeacherLWInfo] WHERE ([TeacherId] = @TeacherId)">
<SelectParameters>
<asp:SessionParameter Name="TeacherId" SessionField="TeacherId" Type="Int32" />
</SelectParameters>
</asp:SqlDataSource>
<script>
function locking(){
document.all.ly.style.display="block";
document.all.ly.style.width=document.body.clientWidth;
document.all.ly.style.height=document.body.clientHeight;
document.all.Layer2.style.display='block';
}
function Lock_CheckForm(theForm){
document.all.ly.style.display='none';document.all.Layer2.style.display='none';
return false;
}
</script>
</asp:Content>