p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 2.0 Professional (http://p2p.wrox.com/forumdisplay.php?f=215)
-   -   How to declare the server controls as public?? (http://p2p.wrox.com/showthread.php?t=46653)

kv Priya August 18th, 2006 04:23 AM

How to declare the server controls as public??
 
Hai,
 Hai,
   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...

-Priya


All times are GMT -4. The time now is 05:33 AM.

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