Hi experts,
what event dispatch on the screen finish show? I want show WebDialogResult after screen finish show.
I research RowSelected – occurs when system should show record to the UI., but it not suitable.
Thank for your help.
Hi experts,
what event dispatch on the screen finish show? I want show WebDialogResult after screen finish show.
I research RowSelected – occurs when system should show record to the UI., but it not suitable.
Thank for your help.
Best answer by aaghaei
The short answer is unfortunately you can not by C# code to the best of my knowledge. You will need to seek help from JS to disable the controls. for example you can check your SO status and disable the controls. Also, you might need to call the JS function in the screen client event. here is a blurb to give you a heads up but I have not tested it.
function disableFilesNotes()
{
let isEnabled=true;
let docStatus=px_alls['edStatus'].getValue();
if (docStatus == "N" || docStatus =="C")
{
isEnabled = false
document.getElementById("ctl00_usrCaption_tlbDataView").setAttribute("disabled","isEnabled");
}
else
{
isEnabled = true
document.getElementById("ctl00_usrCaption_tlbDataView").removeAttribute("disabled");
}
}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.