Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 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 August 18th, 2006, 04:23 AM
Registered User
Join Date: Jun 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to declare the server controls as public??

   I have a webuser control enriched with some web server controls.In a web form,I have to refer the properties of the controls of webuser control.While I am referring those properties, an error is raising as

'<usercontrolname>.protected dim with events <controlname> as system.web.ui.webcontrols.textbox' is not accessible in this context because it is 'protected'.

Where can I declare the control as public in a web application so that I can use it anywhere in the project? and how we can do that?
Any suggestions......please welcome...


Similar Threads
Thread Thread Starter Forum Replies Last Post
public article - public articledetails _keysersoze_ BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 September 8th, 2007 08:38 AM
Set Focus to Server controls rwalker ASP.NET 2.0 Basics 3 July 28th, 2006 07:10 AM
Don't see Server Controls at my explorer Dango24 BOOK: Beginning ASP.NET 1.0 6 August 25th, 2005 09:30 AM
custom server controls rotsey General .NET 0 November 24th, 2004 03:08 AM

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