|
Subject:
|
How to declare the server controls as public??
|
|
Posted By:
|
kv Priya
|
Post Date:
|
8/18/2006 4:23:17 AM
|
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
|
|