Web User Controls

S

Scott D

How can I make the server controls within a web user control available
to the Web Form I insert them in? It seems the 'Protected WithEvents'
command that is inserted by default for the handle is the problem.
When I remove this and change 'Protected WithEvents' to the keyword
'Public' I am able to access the controls however, the page compiles
with errors.

Thank you all in advance for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top