Passing server controls between forms

Discussion in 'ASP .Net' 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 form2.............help please

    Mathew
    Mathew George, Jul 7, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. terry
    Replies:
    1
    Views:
    458
    William F. Robertson, Jr.
    Jul 7, 2003
  2. cgia
    Replies:
    5
    Views:
    752
    Steve C. Orr, MCSD
    Jul 26, 2003
  3. Scott Zabolotzky

    Problem passing custom object between forms

    Scott Zabolotzky, Oct 23, 2003, in forum: ASP .Net
    Replies:
    6
    Views:
    493
    Jim Cheshire [MSFT]
    Oct 24, 2003
  4. =?Utf-8?B?bXN5ZXo=?=

    passing data between forms in the "cleanest" OO way?

    =?Utf-8?B?bXN5ZXo=?=, Feb 5, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    375
    Felbrigg
    Feb 5, 2004
  5. Eric
    Replies:
    2
    Views:
    463
Loading...

Share This Page