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

Go to topic 48280

Return to index page 200
Return to index page 199
Return to index page 198
Return to index page 197
Return to index page 196
Return to index page 195
Return to index page 194
Return to index page 193
Return to index page 192
Return to index page 191