I'm trying to update my hidden form items and then post to another page all in a single click.
So I have a really simple form I have:
<input type="hidden" name="key" ID="key" runat="server" />
and in a button click I do:
key.Value = ConfigurationManager.AppSettings["Key"].ToString();
If I let the page come back and use another button with a postbackURL . . . the behavior works as expected.
If I try a response.Redirect the new value can't be read.
I cannot use a server.transfer as I'm going to a 3rd party site to submit the data.
I also tried the postback url on this button click as well, but that also can't be done.
So how do I update the value on the form and post it to another page? Thanks in advnaced, been a long day and the brain is shot.