Right,
I think I'm getting there now but it's not ideal as I have 40+ controls to write out
It would be better if I could just redirect the original form
VB Code:
Private Sub cmdSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSubmit.Click, cmdSubmit.Click ' Do processing here then redirect including some hidden values Response.Write("<form name=""hiddenvals"" action=""submission.aspx?page=1a"" method=""POST"" >") Response.Write("<input type=""hidden"" name=""Var1"" value=""5"">") Response.Write("<input type=""hidden"" name=""Var2"" value=""test"" >") Response.Write("</form>") Response.Write("<script>") Response.Write("document.forms[0].submit(); ") Response.Write("</script>") End Sub




Reply With Quote