<a class="link-offset-2 link-offset-3-hover link-underline link-underline-opacity-0 link-underline-opacity-75-hover" style="cursor: pointer" onclick="showCaseProfile(\'' + value.FileNumber + '\');">' + value.FileNumber + '</a>
function showCaseProfile(CaseNo) {
var params = { strCNR_No: CaseNo };
$.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
url: '../DashboardReports/DashboardReports.aspx/CNREncryption',
data: JSON.stringify(params),
dataType: "json",
success: function (data) {
window.open('../DashboardReports/CaseProfile.aspx?CaseNo=' + data.d, '_blank');
},
error: function (result) {
alert("Server Connection Error");
}
});
}
No comments:
Post a Comment