I'm having an issue with the redirection from the URL("343") action. The PrevCustomURL variable is not working correctly.
The ASP code I've found is as such:
var strURL=new String( Request.ServerVariables("URL")() + "?" + Request.QueryString );
myBlock.prevURL=strURL;
I'm trying to use something similar except parsing the URL through a button:
Url("343") + "&Key-1=" + StatementId + "&PrevCustomURL=" + Url("340")
I've tried building the URL as well using:
myURL = UrlDotNet(ThisDotNetDll, "myFunctionName") + "&Stad_StatementId=" + StatementId;
AddUrlButton("Upload Statement", "Upload.gif", Url("343") + "&Key-1=" + StatementId + "&PrevCustomURL=" + myURL);
Any assistance on this would really be appreciated.
Many thanks,
Kev