Passing server controls between forms

M

Mathew George

Hello all,

I have two forms form1.aspx and form2.aspx.
I need to reterive all the form elements from form1 into form2.
In Form1.aspx n number of controls are created at runtime, and on click of
one button form2.aspx is called using server.transfer.
While retrieving i want to retrieve all the form elements in form2.

How do i do it.

I can retrieve the form elemets by giving the page Form1 as class and
creating property for each elements.
In form2 i reference the page Form1 and get the element value.

How can i get all the form elemts in form2.............help please

Mathew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,008
Latest member
HaroldDark

Latest Threads

Top