Custom Controls and Global Variables

  • Thread starter Thread starter Tarun Mistry
  • Start date Start date
T

Tarun Mistry

Hi there, I have made a new custom user control that contains a menu, this
will be present on all of my pages.

However, I want to perform some login within the control but it is dependent
on the webform it is contained in, how on earth do i allow the webform and
the usercontrol talk to each other?

Basically, the webform contains a state variable. I want the usercontrol to
use this state variable to set the style properties of my menu
(usercontrol).

How do i go about doing this?

Thanks!
Taz
 
Back
Top