This is a multi-part message in MIME format.
------_=_NextPart_001_01C1794F.1741B12D
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
I am trying to post from one page to another and keep the form
information from the first page in the response object so it is
accessible by the second page.
The problem is that on the first page I have a couple of server-side
controls which gives me the following error:
Control 'ValidationSummary' of type 'ValidationSummary' must be placed
inside a form tag with runat=3Dserver.
So I add runat=3D"server" to the form tag. This overrides the action
attribute of the form to ensure that the form posts back to it's self.
So on post back I redirect to the page that I actually want to use the
information and the Request object is lost in the post back.
So my options as I understand it is to add the details of the first form
into the session object (which has issues) and pull them out on the
second form or not use server-side controls in the first form.
Am I missing something? Is there an easier way to post information from
one page to another?
Thanks
Bev