View Single Post
 
Old May 21st, 2005, 02:44 PM
andyj00 andyj00 is offline
Authorized User
 
Join Date: May 2005
Location: , , United Kingdom.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Accessing Properties in User Controls

How do I programatically access a property in a parent webform from a User Control?

e.g. if we had a web form that had the following property:

public string myProperty
{
  get{ return _myProperty;}
  set{ _myProperty = value;}
}

How can I access this property from a user control that in inside this web form page?
Many thanks. Andy

__________________
Andy has a keen interest in home security and home alarm systems. Improve your home security now by going to the The Best Home Security Guide.