In IW 10, the TerminateAndRedirect method took two parameters, a message to display to the user and the address to which the user should be redirected.
In IW 14, The TerminateAndRedirect method takes only one parameter - the address to which the user should be redirected.
Is it possible for me to mimic the old behavior? I want to be able to tell the user why they are being redirected to another page. The IW 10 TerminateAndRedirect provided an easy way to do that.
How can I provide the user a message and then TerminateAndRedirect to a new page?
Thanks,
Randall H. Carpenter
> {quote:title=Alexandre Machado wrote:}{quote}
> > {quote:title=Randall Carpenter wrote:}{quote}
> > In IW 10, the TerminateAndRedirect method took two parameters, a message to display to the user and the address to which the user should be redirected.
> >
> > In IW 14, The TerminateAndRedirect method takes only one parameter - the address to which the user should be redirected.
> >
> > Is it possible for me to mimic the old behavior? I want to be able to tell the user why they are being redirected to another page. The IW 10 TerminateAndRedirect provided an easy way to do that.
> >
> > How can I provide the user a message and then TerminateAndRedirect to a new page?
> >
> > Thanks,
> > Randall H. Carpenter
>
> Please check this demo I've just uploaded: http://iwdemos.codeplex.com/SourceControl/latest#Atozed Demos/XIV/Delphi/TerminateAndRedirect2/
>
> This simulates the old behavior. Please note that the old method used in IW 10 may fail under some circumstances/browsers. This new method should work fine in all cases.
>
> Best regards
Thank you. This works wonderfully.
Randall H. Carpenter
> {quote:title=Alexandre Machado wrote:}{quote}
> > {quote:title=Randall Carpenter wrote:}{quote}
> > In IW 10, the TerminateAndRedirect method took two parameters, a message to display to the user and the address to which the user should be redirected.
> >
> > In IW 14, The TerminateAndRedirect method takes only one parameter - the address to which the user should be redirected.
> >
> > Is it possible for me to mimic the old behavior? I want to be able to tell the user why they are being redirected to another page. The IW 10 TerminateAndRedirect provided an easy way to do that.
> >
> > How can I provide the user a message and then TerminateAndRedirect to a new page?
> >
> > Thanks,
> > Randall H. Carpenter
>
> Please check this demo I've just uploaded: http://iwdemos.codeplex.com/SourceControl/latest#Atozed Demos/XIV/Delphi/TerminateAndRedirect2/
>
> This simulates the old behavior. Please note that the old method used in IW 10 may fail under some circumstances/browsers. This new method should work fine in all cases.
>
> Best regards
Thank you. This works wonderfully.
Randall H. Carpenter
> {quote:title=Alexandre Machado wrote:}{quote}
> > {quote:title=Randall Carpenter wrote:}{quote}
> > In IW 10, the TerminateAndRedirect method took two parameters, a message to display to the user and the address to which the user should be redirected.
> >
> > In IW 14, The TerminateAndRedirect method takes only one parameter - the address to which the user should be redirected.
> >
> > Is it possible for me to mimic the old behavior? I want to be able to tell the user why they are being redirected to another page. The IW 10 TerminateAndRedirect provided an easy way to do that.
> >
> > How can I provide the user a message and then TerminateAndRedirect to a new page?
> >
> > Thanks,
> > Randall H. Carpenter
>
> Please check this demo I've just uploaded: http://iwdemos.codeplex.com/SourceControl/latest#Atozed Demos/XIV/Delphi/TerminateAndRedirect2/
>
> This simulates the old behavior. Please note that the old method used in IW 10 may fail under some circumstances/browsers. This new method should work fine in all cases.
>
> Best regards
Thank you. This works wonderfully.
Randall H. Carpenter
> {quote:title=Randall Carpenter wrote:}{quote}
> In IW 10, the TerminateAndRedirect method took two parameters, a message to display to the user and the address to which the user should be redirected.
>
> In IW 14, The TerminateAndRedirect method takes only one parameter - the address to which the user should be redirected.
>
> Is it possible for me to mimic the old behavior? I want to be able to tell the user why they are being redirected to another page. The IW 10 TerminateAndRedirect provided an easy way to do that.
>
> How can I provide the user a message and then TerminateAndRedirect to a new page?
>
> Thanks,
> Randall H. Carpenter
Please check this demo I've just uploaded: http://iwdemos.codeplex.com/SourceControl/latest#Atozed Demos/XIV/Delphi/TerminateAndRedirect2/
This simulates the old behavior. Please note that the old method used in IW 10 may fail under some circumstances/browsers. This new method should work fine in all cases.
Best regards