Passing form elements between forms

Discussion in 'ASP .Net Building Controls' started by Mathew George, Jul 7, 2003.

  1. 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 please

    Mathew George, Jul 7, 2003
    1. Advertisements

  2. Victor Garcia Aprea [MVP], Jul 8, 2003
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.