Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 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
Old May 23rd, 2007, 12:16 AM
Registered User
Join Date: May 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default accessing property from code behind in .ascx

i created a property in code behind of the user control. I need to access that property in script created in the .ascx

Is there any way to access
Old May 23rd, 2007, 08:35 AM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

What do you mean by "script created in the .ascx"?

Usually you access a property on a control just like any other class member:

myControlInstance.MyProperty = "value"


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing SelectMethod Property of SQLDataSource Sheraz Khan ASP.NET 2.0 Professional 0 September 9th, 2007 08:00 AM
Accessing Control Property pipelineconsulting ASP.NET 1.x and 2.0 Application Design 1 November 28th, 2005 02:48 PM
Accessing the property of the website jyoti_khera General .NET 0 January 28th, 2005 04:17 AM
OLE picture - accessing the picture property bdcrisp Excel VBA 0 December 7th, 2003 09:35 PM

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