62,073
社区成员
发帖
与我相关
我的任务
分享
<%@ Page Title="" Language="C#" MasterPageFile="~/boaFramework/boaApplicationMasterPage.master" AutoEventWireup="true" CodeFile="MsgReg103Add.aspx.cs" Inherits="Workflow_MsgReg103Add" EnableEventValidation="false" %><%@ Register assembly="Infragistics35.WebUI.WebDateChooser.v9.1, Version=9.1.20091.2013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.WebSchedule" tagprefix="igsch" %>
<asp:Content ID="Content1" ContentPlaceHolderID="customHeader" Runat="Server">
<script type="text/javascript">
String.prototype.startsWith = function(str)
{return (this.match("^"+str)==str)}
function CheckMsgAmtRegCallback(result, userContext, methodName) {
try {
if (result != "") {
var value;
//Converts JSON string to object graph
value = eval("(" + result + ")");
if (GetJSONValue(value, "Status") == "SUCCESS") {
document.getElementById("<%= 传值列.ClientID.ToString()%>").value = GetJSONValue(value, "hiddenvalue");
if( document.getElementById("<%= 传值列.ClientID.ToString()%>").value =="显示"){
如何设置隐藏列1,2,3,才能显示
else{
如何设置隐藏列1,2,3,隐藏
}
}
}
else {
document.getElementById("messageLocked").value = "no";
alert("Error: Please refer to the following details: \r\n" + GetJSONValue(value, "ErrorMessage"));
}
}
}
catch (e) {
alert("CheckMsgAmtRegCallback:" + e);
}
}
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<table width="100%">
< <tr>
<td width="50%" class="label"></td>
<td width="50%" class="label">隐藏这里</td>
</tr>
<tr>
<td></td>
<td>
<asp:TextBox ID="隐藏列1" MaxLength="3" Width="44px" runat="server" ></asp:TextBox><asp:TextBox ID="隐藏列2" MaxLength="34" Width="250px" runat="server" ></asp:TextBox><br />
<asp:TextBox ID="隐藏列3" MaxLength="35" Width="300px" runat="server" ></asp:TextBox><br />
<asp:TextBox ID="传值项" visible="false" MaxLength="35" Width="300px" runat="server" ></asp:TextBox>
</td>
</tr>
<tr>
<td colspan="2">
<asp:CheckBox ID="chkAddWithOFAC" Text="Add with OFAC match" runat="server" Visible="false" />
<input type="hidden" runat="server" id="HdnOfacWord" />
<br />
<asp:Button ID="AddButton" runat="server" Text="Add" class="buttonStyle"
onclick="AddButton_Click" OnClientClick="return verifyInput();" /> </td>
</tr>
</table>
<script>
SetDefaultFocus();
</script>
</asp:Content>