Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Storing Control Accessible Variables

Status
Not open for further replies.

ross1228

Programmer
Oct 20, 2006
14
US
I've searched the forums and faq's, but havn't seemed to be able to find my specific problem.

I have a page that is used to navigate through multiple user controls. Right now I am using sessions to pass variables between the controls, but this does not seem very efficient.

Is there a way I can set a variable in my .aspx page to a value from my control? Then call on that variable from another control?

There is a page refresh when switching to a different control.

The data consists of product id's, lot numbers, batch numbers, and other numbers of that sort.

I am using C# in my code behinds.
 
You can set properties on the page, and access them from your controls.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top