Declare an instance variable that has a type of the class for the code behind on your user control and then add a property to that class.
HTH, Matt -----Original Message----- From: Mysoresrikantaiah Srinivasaprasad [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 7:16 AM To: [EMAIL PROTECTED] Subject: [DOTNET] User Control Hi How to access the propetie say "UserName" defined in user control say mycontrol.ascx in the ASPX's code behind. thanks Srinivasa Prasad You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.