HighTechTalks DotNet Forums  

Passing server controls between forms

Dotnet FAQs microsoft.public.dotnet.faqs


Discuss Passing server controls between forms in the Dotnet FAQs forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Mathew George
 
Posts: n/a

Default Passing server controls between forms - 07-07-2003 , 04:31 AM






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



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.