View Full Version : to access a control existing in one page from another page
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)
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.
02-21-2007, 07:25 AM
what is an application variable?
02-21-2007, 05:20 PM
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.