...

View Full Version : to access a control existing in one page from another page



sujith
02-15-2007, 12:20 PM
I want to access a control existing in one page

from another page





How can i do thins in asp.net 2.0 (vb.Net)

sujith

nikkiH
02-15-2007, 03:31 PM
That highly depends on what you're doing.
Generally speaking, you can't do that. The pages must be connected in some way.
Now, if it was a cross page postback or something, that's possible. Or if you have a member variable to the instance of the other class.
Otherwise, you're going to need to store what you need in the session or an application variable.

sujith
02-21-2007, 07:25 AM
what is an application variable?
sujith

nikkiH
02-21-2007, 05:20 PM
http://samples.gotdotnet.com/quickstart/aspplus/doc/stateoverview.aspx



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum