I have a Javascript function that pulls down variables, like so:
function OnClientCloseSecure(oWnd, args) {
var arg = args.get_argument();
if (arg) {
var ResultCode = arg.ResultCode;
var PONumber = arg.PONumber;
}
}
I need to assign ResultCode and PONumber to a variable in C# or if that isn’t possible a label in c#.
Are any of these options possible? If so, how would I go about doing that? I’ve tried several things with no luck. Thanks!
One way would be to create hidden value and set the runat attribute to server. you can get the
value.
Code Behind: