Mr Newbie wrote:
What about using Server.Transfer which has the ability to preserve the
context of the pevious page ? Or have I misunderstood you ??
Mr N.
Sorry, I don't think I explained myself well enough.
Basically I have a webform which is wizard style with a number of
'pages'. The last step needs to use HTTPS but submit to the same form.
I know I can do this using client side script to override the form
action but that's not ideal.
EG:
switch (wizardStep)
{
case 1:
// Needs to be http
infoPanel.Visible = true;
break;
case 2:
// Needs to be http
declarationPanel.Visible = true;
case 3:
// Needs to be https
paymentPanel.Visible = true;
}
I know I can do this by just making a separate form, or adding some
code to pass values across, but just wondered if there was a neater way
that I'm missing?
Thanks,
Chris