<td width="11%">
</td>
<td colspan="3" nowrap="nowrap">
<table id="tblChooseToSign"width="100%">
<tr></tr>
<tr>
<td width="25%" nowrap>
<input id="btnChooseToSign"type="button"value="点击会签至其他单位" onclick="javascript:ChooseToSign(this);" runat="server"style="width: 180px;
cursor: hand;"/>
</td>
<td width="75%">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td nowrap="noWrap">
<asp:Label ID="lblChooseToSign"runat="server"Text="会签其他单位" style="display:none"></asp:Label>
<br />
<asp:Label ID="Label1" runat="server"ForeColor="Red"Style="display: none" Text="(请勿选取自己部门主管)"></asp:Label></td>
<td colspan="3">
<div id="divChooseToSign"style="overflow-y: scroll; overflow-x:hidden; width: 90%; height: 200px; border: solid 1px #999; padding: 5px; background-color: #eee; display:none">
<asp:CheckBoxList ID="CheckBoxList_Fac"runat="server"RepeatDirection="Horizontal"
RepeatColumns="5">
</asp:CheckBoxList>
</div>
</td>
</tr>
//点击“会签其他单位”后才显示签核人列表
function ChooseToSign(obj)
{
try
{
document.getElementById("tblChooseToSign").style.display="none";
document.getElementById("divChooseToSign").style.display="block";
document.getElementById("lblChooseToSign").style.display="block";
document.getElementById("Label1").style.display="block";
}
catch(e){
document.getElementById("tblChooseToSign").style.display="none";
document.getElementById("divChooseToSign").style.display="block";
document.getElementById("lblChooseToSign").style.display="block";
document.getElementById("Label1").style.display="block";
}
}
DataSet DS_Fac = pr_c.getAllFac();//会签单位主管
//会签单位主管
this.CheckBoxList_Fac.DataSource = DS_Fac;
this.CheckBoxList_Fac.DataTextField = "ITEM_NAME";
this.CheckBoxList_Fac.DataValueField = "ITEM_VALUE";
this.CheckBoxList_Fac.DataBind();