|
|
@ -43,6 +43,15 @@ namespace Swift.web.Remit.Transaction.Modify |
|
|
|
rptName.Visible = true; |
|
|
|
rptShowOther.Visible = false; |
|
|
|
} |
|
|
|
else if (getFieldName() == "paymentMethod") |
|
|
|
{ |
|
|
|
rptShowOther.Visible = true; |
|
|
|
PopulateDll(getFieldName()); |
|
|
|
ddlNewValue.Visible = true; |
|
|
|
txtNewValue.Visible = false; |
|
|
|
rptName.Visible = false; |
|
|
|
txtContactNo.Visible = false; |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
rptShowOther.Visible = true; |
|
|
@ -75,6 +84,8 @@ namespace Swift.web.Remit.Transaction.Modify |
|
|
|
lblFieldName.Text = "Receiver Id No"; |
|
|
|
else if (getFieldName() == "sIdNo") |
|
|
|
lblFieldName.Text = "Sender Id No"; |
|
|
|
else if (getFieldName() == "paymentMethod") |
|
|
|
lblFieldName.Text = "Mode of Payment"; |
|
|
|
|
|
|
|
} |
|
|
|
private string GetLabel() |
|
|
@ -95,10 +106,13 @@ namespace Swift.web.Remit.Transaction.Modify |
|
|
|
} |
|
|
|
private void PopulateDll(string fieldName) |
|
|
|
{ |
|
|
|
var country = GetStatic.ReadQueryString("pCountry",""); |
|
|
|
if (fieldName == "rIdType") |
|
|
|
sd.SetDDL(ref ddlNewValue, "EXEC proc_online_dropDownList @flag = 'idType', @user = '" + GetStatic.GetUser() + "'", "valueId", "detailTitle", "", "Select.."); |
|
|
|
else if (fieldName == "sIdType") |
|
|
|
sd.SetDDL2(ref ddlNewValue, "EXEC proc_countryIdType @flag = 'il', @countryId='151', @spFlag = '5201'", "detailTitle", "", "Select"); |
|
|
|
else if (fieldName == "paymentMethod") |
|
|
|
sd.SetDDL(ref ddlNewValue, "EXEC proc_online_sendPageLoadData @flag = 'payoutMethods' ,@country = " + country + "", "Key", "Value", "", "Select"); |
|
|
|
} |
|
|
|
protected void btnUpdate_Click(object sender, EventArgs e) |
|
|
|
{ |
|
|
|