Jump to content

open url on its parent page by click button


hamze

Recommended Posts

my address isn't in same domain.

let's explain my problem obviously.

i have a Online banking gateway.at first i should send some information then gateway will give me ResID.

i should attach ResID to a Url.for example and new create Url opened in same page


or 


now all opration should do in this Button 

Link to comment
Share on other sites

does not work.it needs disbaling popup yet

 

UniSession.UrlRedirect('http://www.google.com');

 

this is a dirty style

 

procedure TMainForm.UniButton2Click(Sender: TObject);

begin
  UniServerModule.ServerMessages.TerminateTemplate.Text := '<script>location.href=''http://google.com''</script>';
  close;
end;
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...