Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old May 21st, 2005, 02:44 PM
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.
  #2 (permalink)  
Old May 21st, 2005, 02:52 PM
Authorized User
 
Join Date: May 2005
Location: , , United Kingdom.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Please ignore this post as I have posted it in the wrong forum. I have now re-posted it in the ASP.NET forum. Thanks. Andy.



Similar Threads
Thread Thread Starter Forum Replies Last Post
Properties In User Controls - A Tip And Trick Muhammad Zeeshan ASP.NET 2.0 Basics 0 November 23rd, 2007 03:51 AM
Properties In User Controls - A Tip And Trick Muhammad Zeeshan ASP.NET 2.0 Professional 0 September 20th, 2007 10:49 PM
Accessing the Controls of a User Control? Aaron Edwards ASP.NET 2.0 Basics 6 June 16th, 2006 07:22 PM
Accessing Properties in User Controls andyj00 ASP.NET 1.0 and 1.1 Professional 16 August 1st, 2005 07:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.